package com.dwxt.cdms.entity.yumeng;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CustomerExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CustomerExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andImageIsNull() {
            addCriterion("image is null");
            return (Criteria) this;
        }

        public Criteria andImageIsNotNull() {
            addCriterion("image is not null");
            return (Criteria) this;
        }

        public Criteria andImageEqualTo(String value) {
            addCriterion("image =", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageNotEqualTo(String value) {
            addCriterion("image <>", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageGreaterThan(String value) {
            addCriterion("image >", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageGreaterThanOrEqualTo(String value) {
            addCriterion("image >=", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageLessThan(String value) {
            addCriterion("image <", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageLessThanOrEqualTo(String value) {
            addCriterion("image <=", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageLike(String value) {
            addCriterion("image like", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageNotLike(String value) {
            addCriterion("image not like", value, "image");
            return (Criteria) this;
        }

        public Criteria andImageIn(List<String> values) {
            addCriterion("image in", values, "image");
            return (Criteria) this;
        }

        public Criteria andImageNotIn(List<String> values) {
            addCriterion("image not in", values, "image");
            return (Criteria) this;
        }

        public Criteria andImageBetween(String value1, String value2) {
            addCriterion("image between", value1, value2, "image");
            return (Criteria) this;
        }

        public Criteria andImageNotBetween(String value1, String value2) {
            addCriterion("image not between", value1, value2, "image");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andAgeIsNull() {
            addCriterion("age is null");
            return (Criteria) this;
        }

        public Criteria andAgeIsNotNull() {
            addCriterion("age is not null");
            return (Criteria) this;
        }

        public Criteria andAgeEqualTo(Integer value) {
            addCriterion("age =", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotEqualTo(Integer value) {
            addCriterion("age <>", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeGreaterThan(Integer value) {
            addCriterion("age >", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeGreaterThanOrEqualTo(Integer value) {
            addCriterion("age >=", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeLessThan(Integer value) {
            addCriterion("age <", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeLessThanOrEqualTo(Integer value) {
            addCriterion("age <=", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeIn(List<Integer> values) {
            addCriterion("age in", values, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotIn(List<Integer> values) {
            addCriterion("age not in", values, "age");
            return (Criteria) this;
        }

        public Criteria andAgeBetween(Integer value1, Integer value2) {
            addCriterion("age between", value1, value2, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotBetween(Integer value1, Integer value2) {
            addCriterion("age not between", value1, value2, "age");
            return (Criteria) this;
        }

        public Criteria andSexIsNull() {
            addCriterion("sex is null");
            return (Criteria) this;
        }

        public Criteria andSexIsNotNull() {
            addCriterion("sex is not null");
            return (Criteria) this;
        }

        public Criteria andSexEqualTo(Integer value) {
            addCriterion("sex =", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotEqualTo(Integer value) {
            addCriterion("sex <>", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThan(Integer value) {
            addCriterion("sex >", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThanOrEqualTo(Integer value) {
            addCriterion("sex >=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThan(Integer value) {
            addCriterion("sex <", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThanOrEqualTo(Integer value) {
            addCriterion("sex <=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexIn(List<Integer> values) {
            addCriterion("sex in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotIn(List<Integer> values) {
            addCriterion("sex not in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexBetween(Integer value1, Integer value2) {
            addCriterion("sex between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotBetween(Integer value1, Integer value2) {
            addCriterion("sex not between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andIdNumberIsNull() {
            addCriterion("idNumber is null");
            return (Criteria) this;
        }

        public Criteria andIdNumberIsNotNull() {
            addCriterion("idNumber is not null");
            return (Criteria) this;
        }

        public Criteria andIdNumberEqualTo(String value) {
            addCriterion("idNumber =", value, "idNumber");
            return (Criteria) this;
        }

        public Criteria andIdNumberNotEqualTo(String value) {
            addCriterion("idNumber <>", value, "idNumber");
            return (Criteria) this;
        }

        public Criteria andIdNumberGreaterThan(String value) {
            addCriterion("idNumber >", value, "idNumber");
            return (Criteria) this;
        }

        public Criteria andIdNumberGreaterThanOrEqualTo(String value) {
            addCriterion("idNumber >=", value, "idNumber");
            return (Criteria) this;
        }

        public Criteria andIdNumberLessThan(String value) {
            addCriterion("idNumber <", value, "idNumber");
            return (Criteria) this;
        }

        public Criteria andIdNumberLessThanOrEqualTo(String value) {
            addCriterion("idNumber <=", value, "idNumber");
            return (Criteria) this;
        }

        public Criteria andIdNumberLike(String value) {
            addCriterion("idNumber like", value, "idNumber");
            return (Criteria) this;
        }

        public Criteria andIdNumberNotLike(String value) {
            addCriterion("idNumber not like", value, "idNumber");
            return (Criteria) this;
        }

        public Criteria andIdNumberIn(List<String> values) {
            addCriterion("idNumber in", values, "idNumber");
            return (Criteria) this;
        }

        public Criteria andIdNumberNotIn(List<String> values) {
            addCriterion("idNumber not in", values, "idNumber");
            return (Criteria) this;
        }

        public Criteria andIdNumberBetween(String value1, String value2) {
            addCriterion("idNumber between", value1, value2, "idNumber");
            return (Criteria) this;
        }

        public Criteria andIdNumberNotBetween(String value1, String value2) {
            addCriterion("idNumber not between", value1, value2, "idNumber");
            return (Criteria) this;
        }

        public Criteria andNationIsNull() {
            addCriterion("nation is null");
            return (Criteria) this;
        }

        public Criteria andNationIsNotNull() {
            addCriterion("nation is not null");
            return (Criteria) this;
        }

        public Criteria andNationEqualTo(String value) {
            addCriterion("nation =", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationNotEqualTo(String value) {
            addCriterion("nation <>", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationGreaterThan(String value) {
            addCriterion("nation >", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationGreaterThanOrEqualTo(String value) {
            addCriterion("nation >=", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationLessThan(String value) {
            addCriterion("nation <", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationLessThanOrEqualTo(String value) {
            addCriterion("nation <=", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationLike(String value) {
            addCriterion("nation like", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationNotLike(String value) {
            addCriterion("nation not like", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationIn(List<String> values) {
            addCriterion("nation in", values, "nation");
            return (Criteria) this;
        }

        public Criteria andNationNotIn(List<String> values) {
            addCriterion("nation not in", values, "nation");
            return (Criteria) this;
        }

        public Criteria andNationBetween(String value1, String value2) {
            addCriterion("nation between", value1, value2, "nation");
            return (Criteria) this;
        }

        public Criteria andNationNotBetween(String value1, String value2) {
            addCriterion("nation not between", value1, value2, "nation");
            return (Criteria) this;
        }

        public Criteria andMarriageTypeIsNull() {
            addCriterion("marriageType is null");
            return (Criteria) this;
        }

        public Criteria andMarriageTypeIsNotNull() {
            addCriterion("marriageType is not null");
            return (Criteria) this;
        }

        public Criteria andMarriageTypeEqualTo(Integer value) {
            addCriterion("marriageType =", value, "marriageType");
            return (Criteria) this;
        }

        public Criteria andMarriageTypeNotEqualTo(Integer value) {
            addCriterion("marriageType <>", value, "marriageType");
            return (Criteria) this;
        }

        public Criteria andMarriageTypeGreaterThan(Integer value) {
            addCriterion("marriageType >", value, "marriageType");
            return (Criteria) this;
        }

        public Criteria andMarriageTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("marriageType >=", value, "marriageType");
            return (Criteria) this;
        }

        public Criteria andMarriageTypeLessThan(Integer value) {
            addCriterion("marriageType <", value, "marriageType");
            return (Criteria) this;
        }

        public Criteria andMarriageTypeLessThanOrEqualTo(Integer value) {
            addCriterion("marriageType <=", value, "marriageType");
            return (Criteria) this;
        }

        public Criteria andMarriageTypeIn(List<Integer> values) {
            addCriterion("marriageType in", values, "marriageType");
            return (Criteria) this;
        }

        public Criteria andMarriageTypeNotIn(List<Integer> values) {
            addCriterion("marriageType not in", values, "marriageType");
            return (Criteria) this;
        }

        public Criteria andMarriageTypeBetween(Integer value1, Integer value2) {
            addCriterion("marriageType between", value1, value2, "marriageType");
            return (Criteria) this;
        }

        public Criteria andMarriageTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("marriageType not between", value1, value2, "marriageType");
            return (Criteria) this;
        }

        public Criteria andResidentTypeIsNull() {
            addCriterion("residentType is null");
            return (Criteria) this;
        }

        public Criteria andResidentTypeIsNotNull() {
            addCriterion("residentType is not null");
            return (Criteria) this;
        }

        public Criteria andResidentTypeEqualTo(Integer value) {
            addCriterion("residentType =", value, "residentType");
            return (Criteria) this;
        }

        public Criteria andResidentTypeNotEqualTo(Integer value) {
            addCriterion("residentType <>", value, "residentType");
            return (Criteria) this;
        }

        public Criteria andResidentTypeGreaterThan(Integer value) {
            addCriterion("residentType >", value, "residentType");
            return (Criteria) this;
        }

        public Criteria andResidentTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("residentType >=", value, "residentType");
            return (Criteria) this;
        }

        public Criteria andResidentTypeLessThan(Integer value) {
            addCriterion("residentType <", value, "residentType");
            return (Criteria) this;
        }

        public Criteria andResidentTypeLessThanOrEqualTo(Integer value) {
            addCriterion("residentType <=", value, "residentType");
            return (Criteria) this;
        }

        public Criteria andResidentTypeIn(List<Integer> values) {
            addCriterion("residentType in", values, "residentType");
            return (Criteria) this;
        }

        public Criteria andResidentTypeNotIn(List<Integer> values) {
            addCriterion("residentType not in", values, "residentType");
            return (Criteria) this;
        }

        public Criteria andResidentTypeBetween(Integer value1, Integer value2) {
            addCriterion("residentType between", value1, value2, "residentType");
            return (Criteria) this;
        }

        public Criteria andResidentTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("residentType not between", value1, value2, "residentType");
            return (Criteria) this;
        }

        public Criteria andPoliticalOutlookIsNull() {
            addCriterion("politicalOutlook is null");
            return (Criteria) this;
        }

        public Criteria andPoliticalOutlookIsNotNull() {
            addCriterion("politicalOutlook is not null");
            return (Criteria) this;
        }

        public Criteria andPoliticalOutlookEqualTo(Integer value) {
            addCriterion("politicalOutlook =", value, "politicalOutlook");
            return (Criteria) this;
        }

        public Criteria andPoliticalOutlookNotEqualTo(Integer value) {
            addCriterion("politicalOutlook <>", value, "politicalOutlook");
            return (Criteria) this;
        }

        public Criteria andPoliticalOutlookGreaterThan(Integer value) {
            addCriterion("politicalOutlook >", value, "politicalOutlook");
            return (Criteria) this;
        }

        public Criteria andPoliticalOutlookGreaterThanOrEqualTo(Integer value) {
            addCriterion("politicalOutlook >=", value, "politicalOutlook");
            return (Criteria) this;
        }

        public Criteria andPoliticalOutlookLessThan(Integer value) {
            addCriterion("politicalOutlook <", value, "politicalOutlook");
            return (Criteria) this;
        }

        public Criteria andPoliticalOutlookLessThanOrEqualTo(Integer value) {
            addCriterion("politicalOutlook <=", value, "politicalOutlook");
            return (Criteria) this;
        }

        public Criteria andPoliticalOutlookIn(List<Integer> values) {
            addCriterion("politicalOutlook in", values, "politicalOutlook");
            return (Criteria) this;
        }

        public Criteria andPoliticalOutlookNotIn(List<Integer> values) {
            addCriterion("politicalOutlook not in", values, "politicalOutlook");
            return (Criteria) this;
        }

        public Criteria andPoliticalOutlookBetween(Integer value1, Integer value2) {
            addCriterion("politicalOutlook between", value1, value2, "politicalOutlook");
            return (Criteria) this;
        }

        public Criteria andPoliticalOutlookNotBetween(Integer value1, Integer value2) {
            addCriterion("politicalOutlook not between", value1, value2, "politicalOutlook");
            return (Criteria) this;
        }

        public Criteria andFaithIsNull() {
            addCriterion("faith is null");
            return (Criteria) this;
        }

        public Criteria andFaithIsNotNull() {
            addCriterion("faith is not null");
            return (Criteria) this;
        }

        public Criteria andFaithEqualTo(Integer value) {
            addCriterion("faith =", value, "faith");
            return (Criteria) this;
        }

        public Criteria andFaithNotEqualTo(Integer value) {
            addCriterion("faith <>", value, "faith");
            return (Criteria) this;
        }

        public Criteria andFaithGreaterThan(Integer value) {
            addCriterion("faith >", value, "faith");
            return (Criteria) this;
        }

        public Criteria andFaithGreaterThanOrEqualTo(Integer value) {
            addCriterion("faith >=", value, "faith");
            return (Criteria) this;
        }

        public Criteria andFaithLessThan(Integer value) {
            addCriterion("faith <", value, "faith");
            return (Criteria) this;
        }

        public Criteria andFaithLessThanOrEqualTo(Integer value) {
            addCriterion("faith <=", value, "faith");
            return (Criteria) this;
        }

        public Criteria andFaithIn(List<Integer> values) {
            addCriterion("faith in", values, "faith");
            return (Criteria) this;
        }

        public Criteria andFaithNotIn(List<Integer> values) {
            addCriterion("faith not in", values, "faith");
            return (Criteria) this;
        }

        public Criteria andFaithBetween(Integer value1, Integer value2) {
            addCriterion("faith between", value1, value2, "faith");
            return (Criteria) this;
        }

        public Criteria andFaithNotBetween(Integer value1, Integer value2) {
            addCriterion("faith not between", value1, value2, "faith");
            return (Criteria) this;
        }

        public Criteria andEducationIsNull() {
            addCriterion("education is null");
            return (Criteria) this;
        }

        public Criteria andEducationIsNotNull() {
            addCriterion("education is not null");
            return (Criteria) this;
        }

        public Criteria andEducationEqualTo(Integer value) {
            addCriterion("education =", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationNotEqualTo(Integer value) {
            addCriterion("education <>", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationGreaterThan(Integer value) {
            addCriterion("education >", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationGreaterThanOrEqualTo(Integer value) {
            addCriterion("education >=", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationLessThan(Integer value) {
            addCriterion("education <", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationLessThanOrEqualTo(Integer value) {
            addCriterion("education <=", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationIn(List<Integer> values) {
            addCriterion("education in", values, "education");
            return (Criteria) this;
        }

        public Criteria andEducationNotIn(List<Integer> values) {
            addCriterion("education not in", values, "education");
            return (Criteria) this;
        }

        public Criteria andEducationBetween(Integer value1, Integer value2) {
            addCriterion("education between", value1, value2, "education");
            return (Criteria) this;
        }

        public Criteria andEducationNotBetween(Integer value1, Integer value2) {
            addCriterion("education not between", value1, value2, "education");
            return (Criteria) this;
        }

        public Criteria andJobIsNull() {
            addCriterion("job is null");
            return (Criteria) this;
        }

        public Criteria andJobIsNotNull() {
            addCriterion("job is not null");
            return (Criteria) this;
        }

        public Criteria andJobEqualTo(String value) {
            addCriterion("job =", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobNotEqualTo(String value) {
            addCriterion("job <>", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobGreaterThan(String value) {
            addCriterion("job >", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobGreaterThanOrEqualTo(String value) {
            addCriterion("job >=", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobLessThan(String value) {
            addCriterion("job <", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobLessThanOrEqualTo(String value) {
            addCriterion("job <=", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobLike(String value) {
            addCriterion("job like", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobNotLike(String value) {
            addCriterion("job not like", value, "job");
            return (Criteria) this;
        }

        public Criteria andJobIn(List<String> values) {
            addCriterion("job in", values, "job");
            return (Criteria) this;
        }

        public Criteria andJobNotIn(List<String> values) {
            addCriterion("job not in", values, "job");
            return (Criteria) this;
        }

        public Criteria andJobBetween(String value1, String value2) {
            addCriterion("job between", value1, value2, "job");
            return (Criteria) this;
        }

        public Criteria andJobNotBetween(String value1, String value2) {
            addCriterion("job not between", value1, value2, "job");
            return (Criteria) this;
        }

        public Criteria andWorkPlaceIsNull() {
            addCriterion("workPlace is null");
            return (Criteria) this;
        }

        public Criteria andWorkPlaceIsNotNull() {
            addCriterion("workPlace is not null");
            return (Criteria) this;
        }

        public Criteria andWorkPlaceEqualTo(String value) {
            addCriterion("workPlace =", value, "workPlace");
            return (Criteria) this;
        }

        public Criteria andWorkPlaceNotEqualTo(String value) {
            addCriterion("workPlace <>", value, "workPlace");
            return (Criteria) this;
        }

        public Criteria andWorkPlaceGreaterThan(String value) {
            addCriterion("workPlace >", value, "workPlace");
            return (Criteria) this;
        }

        public Criteria andWorkPlaceGreaterThanOrEqualTo(String value) {
            addCriterion("workPlace >=", value, "workPlace");
            return (Criteria) this;
        }

        public Criteria andWorkPlaceLessThan(String value) {
            addCriterion("workPlace <", value, "workPlace");
            return (Criteria) this;
        }

        public Criteria andWorkPlaceLessThanOrEqualTo(String value) {
            addCriterion("workPlace <=", value, "workPlace");
            return (Criteria) this;
        }

        public Criteria andWorkPlaceLike(String value) {
            addCriterion("workPlace like", value, "workPlace");
            return (Criteria) this;
        }

        public Criteria andWorkPlaceNotLike(String value) {
            addCriterion("workPlace not like", value, "workPlace");
            return (Criteria) this;
        }

        public Criteria andWorkPlaceIn(List<String> values) {
            addCriterion("workPlace in", values, "workPlace");
            return (Criteria) this;
        }

        public Criteria andWorkPlaceNotIn(List<String> values) {
            addCriterion("workPlace not in", values, "workPlace");
            return (Criteria) this;
        }

        public Criteria andWorkPlaceBetween(String value1, String value2) {
            addCriterion("workPlace between", value1, value2, "workPlace");
            return (Criteria) this;
        }

        public Criteria andWorkPlaceNotBetween(String value1, String value2) {
            addCriterion("workPlace not between", value1, value2, "workPlace");
            return (Criteria) this;
        }

        public Criteria andCommunityIsNull() {
            addCriterion("community is null");
            return (Criteria) this;
        }

        public Criteria andCommunityIsNotNull() {
            addCriterion("community is not null");
            return (Criteria) this;
        }

        public Criteria andCommunityEqualTo(String value) {
            addCriterion("community =", value, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityNotEqualTo(String value) {
            addCriterion("community <>", value, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityGreaterThan(String value) {
            addCriterion("community >", value, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityGreaterThanOrEqualTo(String value) {
            addCriterion("community >=", value, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityLessThan(String value) {
            addCriterion("community <", value, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityLessThanOrEqualTo(String value) {
            addCriterion("community <=", value, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityLike(String value) {
            addCriterion("community like", value, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityNotLike(String value) {
            addCriterion("community not like", value, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityIn(List<String> values) {
            addCriterion("community in", values, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityNotIn(List<String> values) {
            addCriterion("community not in", values, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityBetween(String value1, String value2) {
            addCriterion("community between", value1, value2, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityNotBetween(String value1, String value2) {
            addCriterion("community not between", value1, value2, "community");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeIsNull() {
            addCriterion("customerType is null");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeIsNotNull() {
            addCriterion("customerType is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeEqualTo(Integer value) {
            addCriterion("customerType =", value, "customerType");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeNotEqualTo(Integer value) {
            addCriterion("customerType <>", value, "customerType");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeGreaterThan(Integer value) {
            addCriterion("customerType >", value, "customerType");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("customerType >=", value, "customerType");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeLessThan(Integer value) {
            addCriterion("customerType <", value, "customerType");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeLessThanOrEqualTo(Integer value) {
            addCriterion("customerType <=", value, "customerType");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeIn(List<Integer> values) {
            addCriterion("customerType in", values, "customerType");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeNotIn(List<Integer> values) {
            addCriterion("customerType not in", values, "customerType");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeBetween(Integer value1, Integer value2) {
            addCriterion("customerType between", value1, value2, "customerType");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("customerType not between", value1, value2, "customerType");
            return (Criteria) this;
        }

        public Criteria andTheOldTypeIsNull() {
            addCriterion("theOldType is null");
            return (Criteria) this;
        }

        public Criteria andTheOldTypeIsNotNull() {
            addCriterion("theOldType is not null");
            return (Criteria) this;
        }

        public Criteria andTheOldTypeEqualTo(String value) {
            addCriterion("theOldType =", value, "theOldType");
            return (Criteria) this;
        }

        public Criteria andTheOldTypeNotEqualTo(String value) {
            addCriterion("theOldType <>", value, "theOldType");
            return (Criteria) this;
        }

        public Criteria andTheOldTypeGreaterThan(String value) {
            addCriterion("theOldType >", value, "theOldType");
            return (Criteria) this;
        }

        public Criteria andTheOldTypeGreaterThanOrEqualTo(String value) {
            addCriterion("theOldType >=", value, "theOldType");
            return (Criteria) this;
        }

        public Criteria andTheOldTypeLessThan(String value) {
            addCriterion("theOldType <", value, "theOldType");
            return (Criteria) this;
        }

        public Criteria andTheOldTypeLessThanOrEqualTo(String value) {
            addCriterion("theOldType <=", value, "theOldType");
            return (Criteria) this;
        }

        public Criteria andTheOldTypeLike(String value) {
            addCriterion("theOldType like", value, "theOldType");
            return (Criteria) this;
        }

        public Criteria andTheOldTypeNotLike(String value) {
            addCriterion("theOldType not like", value, "theOldType");
            return (Criteria) this;
        }

        public Criteria andTheOldTypeIn(List<String> values) {
            addCriterion("theOldType in", values, "theOldType");
            return (Criteria) this;
        }

        public Criteria andTheOldTypeNotIn(List<String> values) {
            addCriterion("theOldType not in", values, "theOldType");
            return (Criteria) this;
        }

        public Criteria andTheOldTypeBetween(String value1, String value2) {
            addCriterion("theOldType between", value1, value2, "theOldType");
            return (Criteria) this;
        }

        public Criteria andTheOldTypeNotBetween(String value1, String value2) {
            addCriterion("theOldType not between", value1, value2, "theOldType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeIsNull() {
            addCriterion("serviceType is null");
            return (Criteria) this;
        }

        public Criteria andServiceTypeIsNotNull() {
            addCriterion("serviceType is not null");
            return (Criteria) this;
        }

        public Criteria andServiceTypeEqualTo(Integer value) {
            addCriterion("serviceType =", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeNotEqualTo(Integer value) {
            addCriterion("serviceType <>", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeGreaterThan(Integer value) {
            addCriterion("serviceType >", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("serviceType >=", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeLessThan(Integer value) {
            addCriterion("serviceType <", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeLessThanOrEqualTo(Integer value) {
            addCriterion("serviceType <=", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeIn(List<Integer> values) {
            addCriterion("serviceType in", values, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeNotIn(List<Integer> values) {
            addCriterion("serviceType not in", values, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeBetween(Integer value1, Integer value2) {
            addCriterion("serviceType between", value1, value2, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("serviceType not between", value1, value2, "serviceType");
            return (Criteria) this;
        }

        public Criteria andMedicalSecurityIsNull() {
            addCriterion("medicalSecurity is null");
            return (Criteria) this;
        }

        public Criteria andMedicalSecurityIsNotNull() {
            addCriterion("medicalSecurity is not null");
            return (Criteria) this;
        }

        public Criteria andMedicalSecurityEqualTo(Integer value) {
            addCriterion("medicalSecurity =", value, "medicalSecurity");
            return (Criteria) this;
        }

        public Criteria andMedicalSecurityNotEqualTo(Integer value) {
            addCriterion("medicalSecurity <>", value, "medicalSecurity");
            return (Criteria) this;
        }

        public Criteria andMedicalSecurityGreaterThan(Integer value) {
            addCriterion("medicalSecurity >", value, "medicalSecurity");
            return (Criteria) this;
        }

        public Criteria andMedicalSecurityGreaterThanOrEqualTo(Integer value) {
            addCriterion("medicalSecurity >=", value, "medicalSecurity");
            return (Criteria) this;
        }

        public Criteria andMedicalSecurityLessThan(Integer value) {
            addCriterion("medicalSecurity <", value, "medicalSecurity");
            return (Criteria) this;
        }

        public Criteria andMedicalSecurityLessThanOrEqualTo(Integer value) {
            addCriterion("medicalSecurity <=", value, "medicalSecurity");
            return (Criteria) this;
        }

        public Criteria andMedicalSecurityIn(List<Integer> values) {
            addCriterion("medicalSecurity in", values, "medicalSecurity");
            return (Criteria) this;
        }

        public Criteria andMedicalSecurityNotIn(List<Integer> values) {
            addCriterion("medicalSecurity not in", values, "medicalSecurity");
            return (Criteria) this;
        }

        public Criteria andMedicalSecurityBetween(Integer value1, Integer value2) {
            addCriterion("medicalSecurity between", value1, value2, "medicalSecurity");
            return (Criteria) this;
        }

        public Criteria andMedicalSecurityNotBetween(Integer value1, Integer value2) {
            addCriterion("medicalSecurity not between", value1, value2, "medicalSecurity");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andSelfCareIsNull() {
            addCriterion("selfCare is null");
            return (Criteria) this;
        }

        public Criteria andSelfCareIsNotNull() {
            addCriterion("selfCare is not null");
            return (Criteria) this;
        }

        public Criteria andSelfCareEqualTo(Integer value) {
            addCriterion("selfCare =", value, "selfCare");
            return (Criteria) this;
        }

        public Criteria andSelfCareNotEqualTo(Integer value) {
            addCriterion("selfCare <>", value, "selfCare");
            return (Criteria) this;
        }

        public Criteria andSelfCareGreaterThan(Integer value) {
            addCriterion("selfCare >", value, "selfCare");
            return (Criteria) this;
        }

        public Criteria andSelfCareGreaterThanOrEqualTo(Integer value) {
            addCriterion("selfCare >=", value, "selfCare");
            return (Criteria) this;
        }

        public Criteria andSelfCareLessThan(Integer value) {
            addCriterion("selfCare <", value, "selfCare");
            return (Criteria) this;
        }

        public Criteria andSelfCareLessThanOrEqualTo(Integer value) {
            addCriterion("selfCare <=", value, "selfCare");
            return (Criteria) this;
        }

        public Criteria andSelfCareIn(List<Integer> values) {
            addCriterion("selfCare in", values, "selfCare");
            return (Criteria) this;
        }

        public Criteria andSelfCareNotIn(List<Integer> values) {
            addCriterion("selfCare not in", values, "selfCare");
            return (Criteria) this;
        }

        public Criteria andSelfCareBetween(Integer value1, Integer value2) {
            addCriterion("selfCare between", value1, value2, "selfCare");
            return (Criteria) this;
        }

        public Criteria andSelfCareNotBetween(Integer value1, Integer value2) {
            addCriterion("selfCare not between", value1, value2, "selfCare");
            return (Criteria) this;
        }

        public Criteria andBloodTypeIsNull() {
            addCriterion("bloodType is null");
            return (Criteria) this;
        }

        public Criteria andBloodTypeIsNotNull() {
            addCriterion("bloodType is not null");
            return (Criteria) this;
        }

        public Criteria andBloodTypeEqualTo(Integer value) {
            addCriterion("bloodType =", value, "bloodType");
            return (Criteria) this;
        }

        public Criteria andBloodTypeNotEqualTo(Integer value) {
            addCriterion("bloodType <>", value, "bloodType");
            return (Criteria) this;
        }

        public Criteria andBloodTypeGreaterThan(Integer value) {
            addCriterion("bloodType >", value, "bloodType");
            return (Criteria) this;
        }

        public Criteria andBloodTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("bloodType >=", value, "bloodType");
            return (Criteria) this;
        }

        public Criteria andBloodTypeLessThan(Integer value) {
            addCriterion("bloodType <", value, "bloodType");
            return (Criteria) this;
        }

        public Criteria andBloodTypeLessThanOrEqualTo(Integer value) {
            addCriterion("bloodType <=", value, "bloodType");
            return (Criteria) this;
        }

        public Criteria andBloodTypeIn(List<Integer> values) {
            addCriterion("bloodType in", values, "bloodType");
            return (Criteria) this;
        }

        public Criteria andBloodTypeNotIn(List<Integer> values) {
            addCriterion("bloodType not in", values, "bloodType");
            return (Criteria) this;
        }

        public Criteria andBloodTypeBetween(Integer value1, Integer value2) {
            addCriterion("bloodType between", value1, value2, "bloodType");
            return (Criteria) this;
        }

        public Criteria andBloodTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("bloodType not between", value1, value2, "bloodType");
            return (Criteria) this;
        }

        public Criteria andPsychologicalStatusIsNull() {
            addCriterion("psychologicalStatus is null");
            return (Criteria) this;
        }

        public Criteria andPsychologicalStatusIsNotNull() {
            addCriterion("psychologicalStatus is not null");
            return (Criteria) this;
        }

        public Criteria andPsychologicalStatusEqualTo(Integer value) {
            addCriterion("psychologicalStatus =", value, "psychologicalStatus");
            return (Criteria) this;
        }

        public Criteria andPsychologicalStatusNotEqualTo(Integer value) {
            addCriterion("psychologicalStatus <>", value, "psychologicalStatus");
            return (Criteria) this;
        }

        public Criteria andPsychologicalStatusGreaterThan(Integer value) {
            addCriterion("psychologicalStatus >", value, "psychologicalStatus");
            return (Criteria) this;
        }

        public Criteria andPsychologicalStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("psychologicalStatus >=", value, "psychologicalStatus");
            return (Criteria) this;
        }

        public Criteria andPsychologicalStatusLessThan(Integer value) {
            addCriterion("psychologicalStatus <", value, "psychologicalStatus");
            return (Criteria) this;
        }

        public Criteria andPsychologicalStatusLessThanOrEqualTo(Integer value) {
            addCriterion("psychologicalStatus <=", value, "psychologicalStatus");
            return (Criteria) this;
        }

        public Criteria andPsychologicalStatusIn(List<Integer> values) {
            addCriterion("psychologicalStatus in", values, "psychologicalStatus");
            return (Criteria) this;
        }

        public Criteria andPsychologicalStatusNotIn(List<Integer> values) {
            addCriterion("psychologicalStatus not in", values, "psychologicalStatus");
            return (Criteria) this;
        }

        public Criteria andPsychologicalStatusBetween(Integer value1, Integer value2) {
            addCriterion("psychologicalStatus between", value1, value2, "psychologicalStatus");
            return (Criteria) this;
        }

        public Criteria andPsychologicalStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("psychologicalStatus not between", value1, value2, "psychologicalStatus");
            return (Criteria) this;
        }

        public Criteria andDisabilityCategoryIsNull() {
            addCriterion("disabilityCategory is null");
            return (Criteria) this;
        }

        public Criteria andDisabilityCategoryIsNotNull() {
            addCriterion("disabilityCategory is not null");
            return (Criteria) this;
        }

        public Criteria andDisabilityCategoryEqualTo(String value) {
            addCriterion("disabilityCategory =", value, "disabilityCategory");
            return (Criteria) this;
        }

        public Criteria andDisabilityCategoryNotEqualTo(String value) {
            addCriterion("disabilityCategory <>", value, "disabilityCategory");
            return (Criteria) this;
        }

        public Criteria andDisabilityCategoryGreaterThan(String value) {
            addCriterion("disabilityCategory >", value, "disabilityCategory");
            return (Criteria) this;
        }

        public Criteria andDisabilityCategoryGreaterThanOrEqualTo(String value) {
            addCriterion("disabilityCategory >=", value, "disabilityCategory");
            return (Criteria) this;
        }

        public Criteria andDisabilityCategoryLessThan(String value) {
            addCriterion("disabilityCategory <", value, "disabilityCategory");
            return (Criteria) this;
        }

        public Criteria andDisabilityCategoryLessThanOrEqualTo(String value) {
            addCriterion("disabilityCategory <=", value, "disabilityCategory");
            return (Criteria) this;
        }

        public Criteria andDisabilityCategoryLike(String value) {
            addCriterion("disabilityCategory like", value, "disabilityCategory");
            return (Criteria) this;
        }

        public Criteria andDisabilityCategoryNotLike(String value) {
            addCriterion("disabilityCategory not like", value, "disabilityCategory");
            return (Criteria) this;
        }

        public Criteria andDisabilityCategoryIn(List<String> values) {
            addCriterion("disabilityCategory in", values, "disabilityCategory");
            return (Criteria) this;
        }

        public Criteria andDisabilityCategoryNotIn(List<String> values) {
            addCriterion("disabilityCategory not in", values, "disabilityCategory");
            return (Criteria) this;
        }

        public Criteria andDisabilityCategoryBetween(String value1, String value2) {
            addCriterion("disabilityCategory between", value1, value2, "disabilityCategory");
            return (Criteria) this;
        }

        public Criteria andDisabilityCategoryNotBetween(String value1, String value2) {
            addCriterion("disabilityCategory not between", value1, value2, "disabilityCategory");
            return (Criteria) this;
        }

        public Criteria andDisabilityLevelIsNull() {
            addCriterion("disabilityLevel is null");
            return (Criteria) this;
        }

        public Criteria andDisabilityLevelIsNotNull() {
            addCriterion("disabilityLevel is not null");
            return (Criteria) this;
        }

        public Criteria andDisabilityLevelEqualTo(Integer value) {
            addCriterion("disabilityLevel =", value, "disabilityLevel");
            return (Criteria) this;
        }

        public Criteria andDisabilityLevelNotEqualTo(Integer value) {
            addCriterion("disabilityLevel <>", value, "disabilityLevel");
            return (Criteria) this;
        }

        public Criteria andDisabilityLevelGreaterThan(Integer value) {
            addCriterion("disabilityLevel >", value, "disabilityLevel");
            return (Criteria) this;
        }

        public Criteria andDisabilityLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("disabilityLevel >=", value, "disabilityLevel");
            return (Criteria) this;
        }

        public Criteria andDisabilityLevelLessThan(Integer value) {
            addCriterion("disabilityLevel <", value, "disabilityLevel");
            return (Criteria) this;
        }

        public Criteria andDisabilityLevelLessThanOrEqualTo(Integer value) {
            addCriterion("disabilityLevel <=", value, "disabilityLevel");
            return (Criteria) this;
        }

        public Criteria andDisabilityLevelIn(List<Integer> values) {
            addCriterion("disabilityLevel in", values, "disabilityLevel");
            return (Criteria) this;
        }

        public Criteria andDisabilityLevelNotIn(List<Integer> values) {
            addCriterion("disabilityLevel not in", values, "disabilityLevel");
            return (Criteria) this;
        }

        public Criteria andDisabilityLevelBetween(Integer value1, Integer value2) {
            addCriterion("disabilityLevel between", value1, value2, "disabilityLevel");
            return (Criteria) this;
        }

        public Criteria andDisabilityLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("disabilityLevel not between", value1, value2, "disabilityLevel");
            return (Criteria) this;
        }

        public Criteria andDisabilityNumberIsNull() {
            addCriterion("disabilityNumber is null");
            return (Criteria) this;
        }

        public Criteria andDisabilityNumberIsNotNull() {
            addCriterion("disabilityNumber is not null");
            return (Criteria) this;
        }

        public Criteria andDisabilityNumberEqualTo(String value) {
            addCriterion("disabilityNumber =", value, "disabilityNumber");
            return (Criteria) this;
        }

        public Criteria andDisabilityNumberNotEqualTo(String value) {
            addCriterion("disabilityNumber <>", value, "disabilityNumber");
            return (Criteria) this;
        }

        public Criteria andDisabilityNumberGreaterThan(String value) {
            addCriterion("disabilityNumber >", value, "disabilityNumber");
            return (Criteria) this;
        }

        public Criteria andDisabilityNumberGreaterThanOrEqualTo(String value) {
            addCriterion("disabilityNumber >=", value, "disabilityNumber");
            return (Criteria) this;
        }

        public Criteria andDisabilityNumberLessThan(String value) {
            addCriterion("disabilityNumber <", value, "disabilityNumber");
            return (Criteria) this;
        }

        public Criteria andDisabilityNumberLessThanOrEqualTo(String value) {
            addCriterion("disabilityNumber <=", value, "disabilityNumber");
            return (Criteria) this;
        }

        public Criteria andDisabilityNumberLike(String value) {
            addCriterion("disabilityNumber like", value, "disabilityNumber");
            return (Criteria) this;
        }

        public Criteria andDisabilityNumberNotLike(String value) {
            addCriterion("disabilityNumber not like", value, "disabilityNumber");
            return (Criteria) this;
        }

        public Criteria andDisabilityNumberIn(List<String> values) {
            addCriterion("disabilityNumber in", values, "disabilityNumber");
            return (Criteria) this;
        }

        public Criteria andDisabilityNumberNotIn(List<String> values) {
            addCriterion("disabilityNumber not in", values, "disabilityNumber");
            return (Criteria) this;
        }

        public Criteria andDisabilityNumberBetween(String value1, String value2) {
            addCriterion("disabilityNumber between", value1, value2, "disabilityNumber");
            return (Criteria) this;
        }

        public Criteria andDisabilityNumberNotBetween(String value1, String value2) {
            addCriterion("disabilityNumber not between", value1, value2, "disabilityNumber");
            return (Criteria) this;
        }

        public Criteria andAllergicDrugsIsNull() {
            addCriterion("allergicDrugs is null");
            return (Criteria) this;
        }

        public Criteria andAllergicDrugsIsNotNull() {
            addCriterion("allergicDrugs is not null");
            return (Criteria) this;
        }

        public Criteria andAllergicDrugsEqualTo(String value) {
            addCriterion("allergicDrugs =", value, "allergicDrugs");
            return (Criteria) this;
        }

        public Criteria andAllergicDrugsNotEqualTo(String value) {
            addCriterion("allergicDrugs <>", value, "allergicDrugs");
            return (Criteria) this;
        }

        public Criteria andAllergicDrugsGreaterThan(String value) {
            addCriterion("allergicDrugs >", value, "allergicDrugs");
            return (Criteria) this;
        }

        public Criteria andAllergicDrugsGreaterThanOrEqualTo(String value) {
            addCriterion("allergicDrugs >=", value, "allergicDrugs");
            return (Criteria) this;
        }

        public Criteria andAllergicDrugsLessThan(String value) {
            addCriterion("allergicDrugs <", value, "allergicDrugs");
            return (Criteria) this;
        }

        public Criteria andAllergicDrugsLessThanOrEqualTo(String value) {
            addCriterion("allergicDrugs <=", value, "allergicDrugs");
            return (Criteria) this;
        }

        public Criteria andAllergicDrugsLike(String value) {
            addCriterion("allergicDrugs like", value, "allergicDrugs");
            return (Criteria) this;
        }

        public Criteria andAllergicDrugsNotLike(String value) {
            addCriterion("allergicDrugs not like", value, "allergicDrugs");
            return (Criteria) this;
        }

        public Criteria andAllergicDrugsIn(List<String> values) {
            addCriterion("allergicDrugs in", values, "allergicDrugs");
            return (Criteria) this;
        }

        public Criteria andAllergicDrugsNotIn(List<String> values) {
            addCriterion("allergicDrugs not in", values, "allergicDrugs");
            return (Criteria) this;
        }

        public Criteria andAllergicDrugsBetween(String value1, String value2) {
            addCriterion("allergicDrugs between", value1, value2, "allergicDrugs");
            return (Criteria) this;
        }

        public Criteria andAllergicDrugsNotBetween(String value1, String value2) {
            addCriterion("allergicDrugs not between", value1, value2, "allergicDrugs");
            return (Criteria) this;
        }

        public Criteria andMajorDiseasesIsNull() {
            addCriterion("majorDiseases is null");
            return (Criteria) this;
        }

        public Criteria andMajorDiseasesIsNotNull() {
            addCriterion("majorDiseases is not null");
            return (Criteria) this;
        }

        public Criteria andMajorDiseasesEqualTo(String value) {
            addCriterion("majorDiseases =", value, "majorDiseases");
            return (Criteria) this;
        }

        public Criteria andMajorDiseasesNotEqualTo(String value) {
            addCriterion("majorDiseases <>", value, "majorDiseases");
            return (Criteria) this;
        }

        public Criteria andMajorDiseasesGreaterThan(String value) {
            addCriterion("majorDiseases >", value, "majorDiseases");
            return (Criteria) this;
        }

        public Criteria andMajorDiseasesGreaterThanOrEqualTo(String value) {
            addCriterion("majorDiseases >=", value, "majorDiseases");
            return (Criteria) this;
        }

        public Criteria andMajorDiseasesLessThan(String value) {
            addCriterion("majorDiseases <", value, "majorDiseases");
            return (Criteria) this;
        }

        public Criteria andMajorDiseasesLessThanOrEqualTo(String value) {
            addCriterion("majorDiseases <=", value, "majorDiseases");
            return (Criteria) this;
        }

        public Criteria andMajorDiseasesLike(String value) {
            addCriterion("majorDiseases like", value, "majorDiseases");
            return (Criteria) this;
        }

        public Criteria andMajorDiseasesNotLike(String value) {
            addCriterion("majorDiseases not like", value, "majorDiseases");
            return (Criteria) this;
        }

        public Criteria andMajorDiseasesIn(List<String> values) {
            addCriterion("majorDiseases in", values, "majorDiseases");
            return (Criteria) this;
        }

        public Criteria andMajorDiseasesNotIn(List<String> values) {
            addCriterion("majorDiseases not in", values, "majorDiseases");
            return (Criteria) this;
        }

        public Criteria andMajorDiseasesBetween(String value1, String value2) {
            addCriterion("majorDiseases between", value1, value2, "majorDiseases");
            return (Criteria) this;
        }

        public Criteria andMajorDiseasesNotBetween(String value1, String value2) {
            addCriterion("majorDiseases not between", value1, value2, "majorDiseases");
            return (Criteria) this;
        }

        public Criteria andTourismModeIsNull() {
            addCriterion("tourismMode is null");
            return (Criteria) this;
        }

        public Criteria andTourismModeIsNotNull() {
            addCriterion("tourismMode is not null");
            return (Criteria) this;
        }

        public Criteria andTourismModeEqualTo(Integer value) {
            addCriterion("tourismMode =", value, "tourismMode");
            return (Criteria) this;
        }

        public Criteria andTourismModeNotEqualTo(Integer value) {
            addCriterion("tourismMode <>", value, "tourismMode");
            return (Criteria) this;
        }

        public Criteria andTourismModeGreaterThan(Integer value) {
            addCriterion("tourismMode >", value, "tourismMode");
            return (Criteria) this;
        }

        public Criteria andTourismModeGreaterThanOrEqualTo(Integer value) {
            addCriterion("tourismMode >=", value, "tourismMode");
            return (Criteria) this;
        }

        public Criteria andTourismModeLessThan(Integer value) {
            addCriterion("tourismMode <", value, "tourismMode");
            return (Criteria) this;
        }

        public Criteria andTourismModeLessThanOrEqualTo(Integer value) {
            addCriterion("tourismMode <=", value, "tourismMode");
            return (Criteria) this;
        }

        public Criteria andTourismModeIn(List<Integer> values) {
            addCriterion("tourismMode in", values, "tourismMode");
            return (Criteria) this;
        }

        public Criteria andTourismModeNotIn(List<Integer> values) {
            addCriterion("tourismMode not in", values, "tourismMode");
            return (Criteria) this;
        }

        public Criteria andTourismModeBetween(Integer value1, Integer value2) {
            addCriterion("tourismMode between", value1, value2, "tourismMode");
            return (Criteria) this;
        }

        public Criteria andTourismModeNotBetween(Integer value1, Integer value2) {
            addCriterion("tourismMode not between", value1, value2, "tourismMode");
            return (Criteria) this;
        }

        public Criteria andSocialSituationActivitiesIsNull() {
            addCriterion("socialSituationActivities is null");
            return (Criteria) this;
        }

        public Criteria andSocialSituationActivitiesIsNotNull() {
            addCriterion("socialSituationActivities is not null");
            return (Criteria) this;
        }

        public Criteria andSocialSituationActivitiesEqualTo(Integer value) {
            addCriterion("socialSituationActivities =", value, "socialSituationActivities");
            return (Criteria) this;
        }

        public Criteria andSocialSituationActivitiesNotEqualTo(Integer value) {
            addCriterion("socialSituationActivities <>", value, "socialSituationActivities");
            return (Criteria) this;
        }

        public Criteria andSocialSituationActivitiesGreaterThan(Integer value) {
            addCriterion("socialSituationActivities >", value, "socialSituationActivities");
            return (Criteria) this;
        }

        public Criteria andSocialSituationActivitiesGreaterThanOrEqualTo(Integer value) {
            addCriterion("socialSituationActivities >=", value, "socialSituationActivities");
            return (Criteria) this;
        }

        public Criteria andSocialSituationActivitiesLessThan(Integer value) {
            addCriterion("socialSituationActivities <", value, "socialSituationActivities");
            return (Criteria) this;
        }

        public Criteria andSocialSituationActivitiesLessThanOrEqualTo(Integer value) {
            addCriterion("socialSituationActivities <=", value, "socialSituationActivities");
            return (Criteria) this;
        }

        public Criteria andSocialSituationActivitiesIn(List<Integer> values) {
            addCriterion("socialSituationActivities in", values, "socialSituationActivities");
            return (Criteria) this;
        }

        public Criteria andSocialSituationActivitiesNotIn(List<Integer> values) {
            addCriterion("socialSituationActivities not in", values, "socialSituationActivities");
            return (Criteria) this;
        }

        public Criteria andSocialSituationActivitiesBetween(Integer value1, Integer value2) {
            addCriterion("socialSituationActivities between", value1, value2, "socialSituationActivities");
            return (Criteria) this;
        }

        public Criteria andSocialSituationActivitiesNotBetween(Integer value1, Integer value2) {
            addCriterion("socialSituationActivities not between", value1, value2, "socialSituationActivities");
            return (Criteria) this;
        }

        public Criteria andSocialTypeIsNull() {
            addCriterion("socialType is null");
            return (Criteria) this;
        }

        public Criteria andSocialTypeIsNotNull() {
            addCriterion("socialType is not null");
            return (Criteria) this;
        }

        public Criteria andSocialTypeEqualTo(String value) {
            addCriterion("socialType =", value, "socialType");
            return (Criteria) this;
        }

        public Criteria andSocialTypeNotEqualTo(String value) {
            addCriterion("socialType <>", value, "socialType");
            return (Criteria) this;
        }

        public Criteria andSocialTypeGreaterThan(String value) {
            addCriterion("socialType >", value, "socialType");
            return (Criteria) this;
        }

        public Criteria andSocialTypeGreaterThanOrEqualTo(String value) {
            addCriterion("socialType >=", value, "socialType");
            return (Criteria) this;
        }

        public Criteria andSocialTypeLessThan(String value) {
            addCriterion("socialType <", value, "socialType");
            return (Criteria) this;
        }

        public Criteria andSocialTypeLessThanOrEqualTo(String value) {
            addCriterion("socialType <=", value, "socialType");
            return (Criteria) this;
        }

        public Criteria andSocialTypeLike(String value) {
            addCriterion("socialType like", value, "socialType");
            return (Criteria) this;
        }

        public Criteria andSocialTypeNotLike(String value) {
            addCriterion("socialType not like", value, "socialType");
            return (Criteria) this;
        }

        public Criteria andSocialTypeIn(List<String> values) {
            addCriterion("socialType in", values, "socialType");
            return (Criteria) this;
        }

        public Criteria andSocialTypeNotIn(List<String> values) {
            addCriterion("socialType not in", values, "socialType");
            return (Criteria) this;
        }

        public Criteria andSocialTypeBetween(String value1, String value2) {
            addCriterion("socialType between", value1, value2, "socialType");
            return (Criteria) this;
        }

        public Criteria andSocialTypeNotBetween(String value1, String value2) {
            addCriterion("socialType not between", value1, value2, "socialType");
            return (Criteria) this;
        }

        public Criteria andHobbyIsNull() {
            addCriterion("hobby is null");
            return (Criteria) this;
        }

        public Criteria andHobbyIsNotNull() {
            addCriterion("hobby is not null");
            return (Criteria) this;
        }

        public Criteria andHobbyEqualTo(String value) {
            addCriterion("hobby =", value, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyNotEqualTo(String value) {
            addCriterion("hobby <>", value, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyGreaterThan(String value) {
            addCriterion("hobby >", value, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyGreaterThanOrEqualTo(String value) {
            addCriterion("hobby >=", value, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyLessThan(String value) {
            addCriterion("hobby <", value, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyLessThanOrEqualTo(String value) {
            addCriterion("hobby <=", value, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyLike(String value) {
            addCriterion("hobby like", value, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyNotLike(String value) {
            addCriterion("hobby not like", value, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyIn(List<String> values) {
            addCriterion("hobby in", values, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyNotIn(List<String> values) {
            addCriterion("hobby not in", values, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyBetween(String value1, String value2) {
            addCriterion("hobby between", value1, value2, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyNotBetween(String value1, String value2) {
            addCriterion("hobby not between", value1, value2, "hobby");
            return (Criteria) this;
        }

        public Criteria andDietaryHabitIsNull() {
            addCriterion("dietaryHabit is null");
            return (Criteria) this;
        }

        public Criteria andDietaryHabitIsNotNull() {
            addCriterion("dietaryHabit is not null");
            return (Criteria) this;
        }

        public Criteria andDietaryHabitEqualTo(String value) {
            addCriterion("dietaryHabit =", value, "dietaryHabit");
            return (Criteria) this;
        }

        public Criteria andDietaryHabitNotEqualTo(String value) {
            addCriterion("dietaryHabit <>", value, "dietaryHabit");
            return (Criteria) this;
        }

        public Criteria andDietaryHabitGreaterThan(String value) {
            addCriterion("dietaryHabit >", value, "dietaryHabit");
            return (Criteria) this;
        }

        public Criteria andDietaryHabitGreaterThanOrEqualTo(String value) {
            addCriterion("dietaryHabit >=", value, "dietaryHabit");
            return (Criteria) this;
        }

        public Criteria andDietaryHabitLessThan(String value) {
            addCriterion("dietaryHabit <", value, "dietaryHabit");
            return (Criteria) this;
        }

        public Criteria andDietaryHabitLessThanOrEqualTo(String value) {
            addCriterion("dietaryHabit <=", value, "dietaryHabit");
            return (Criteria) this;
        }

        public Criteria andDietaryHabitLike(String value) {
            addCriterion("dietaryHabit like", value, "dietaryHabit");
            return (Criteria) this;
        }

        public Criteria andDietaryHabitNotLike(String value) {
            addCriterion("dietaryHabit not like", value, "dietaryHabit");
            return (Criteria) this;
        }

        public Criteria andDietaryHabitIn(List<String> values) {
            addCriterion("dietaryHabit in", values, "dietaryHabit");
            return (Criteria) this;
        }

        public Criteria andDietaryHabitNotIn(List<String> values) {
            addCriterion("dietaryHabit not in", values, "dietaryHabit");
            return (Criteria) this;
        }

        public Criteria andDietaryHabitBetween(String value1, String value2) {
            addCriterion("dietaryHabit between", value1, value2, "dietaryHabit");
            return (Criteria) this;
        }

        public Criteria andDietaryHabitNotBetween(String value1, String value2) {
            addCriterion("dietaryHabit not between", value1, value2, "dietaryHabit");
            return (Criteria) this;
        }

        public Criteria andEconomicSourcesIsNull() {
            addCriterion("economicSources is null");
            return (Criteria) this;
        }

        public Criteria andEconomicSourcesIsNotNull() {
            addCriterion("economicSources is not null");
            return (Criteria) this;
        }

        public Criteria andEconomicSourcesEqualTo(Integer value) {
            addCriterion("economicSources =", value, "economicSources");
            return (Criteria) this;
        }

        public Criteria andEconomicSourcesNotEqualTo(Integer value) {
            addCriterion("economicSources <>", value, "economicSources");
            return (Criteria) this;
        }

        public Criteria andEconomicSourcesGreaterThan(Integer value) {
            addCriterion("economicSources >", value, "economicSources");
            return (Criteria) this;
        }

        public Criteria andEconomicSourcesGreaterThanOrEqualTo(Integer value) {
            addCriterion("economicSources >=", value, "economicSources");
            return (Criteria) this;
        }

        public Criteria andEconomicSourcesLessThan(Integer value) {
            addCriterion("economicSources <", value, "economicSources");
            return (Criteria) this;
        }

        public Criteria andEconomicSourcesLessThanOrEqualTo(Integer value) {
            addCriterion("economicSources <=", value, "economicSources");
            return (Criteria) this;
        }

        public Criteria andEconomicSourcesIn(List<Integer> values) {
            addCriterion("economicSources in", values, "economicSources");
            return (Criteria) this;
        }

        public Criteria andEconomicSourcesNotIn(List<Integer> values) {
            addCriterion("economicSources not in", values, "economicSources");
            return (Criteria) this;
        }

        public Criteria andEconomicSourcesBetween(Integer value1, Integer value2) {
            addCriterion("economicSources between", value1, value2, "economicSources");
            return (Criteria) this;
        }

        public Criteria andEconomicSourcesNotBetween(Integer value1, Integer value2) {
            addCriterion("economicSources not between", value1, value2, "economicSources");
            return (Criteria) this;
        }

        public Criteria andMonthlyIncomeIsNull() {
            addCriterion("monthlyIncome is null");
            return (Criteria) this;
        }

        public Criteria andMonthlyIncomeIsNotNull() {
            addCriterion("monthlyIncome is not null");
            return (Criteria) this;
        }

        public Criteria andMonthlyIncomeEqualTo(Integer value) {
            addCriterion("monthlyIncome =", value, "monthlyIncome");
            return (Criteria) this;
        }

        public Criteria andMonthlyIncomeNotEqualTo(Integer value) {
            addCriterion("monthlyIncome <>", value, "monthlyIncome");
            return (Criteria) this;
        }

        public Criteria andMonthlyIncomeGreaterThan(Integer value) {
            addCriterion("monthlyIncome >", value, "monthlyIncome");
            return (Criteria) this;
        }

        public Criteria andMonthlyIncomeGreaterThanOrEqualTo(Integer value) {
            addCriterion("monthlyIncome >=", value, "monthlyIncome");
            return (Criteria) this;
        }

        public Criteria andMonthlyIncomeLessThan(Integer value) {
            addCriterion("monthlyIncome <", value, "monthlyIncome");
            return (Criteria) this;
        }

        public Criteria andMonthlyIncomeLessThanOrEqualTo(Integer value) {
            addCriterion("monthlyIncome <=", value, "monthlyIncome");
            return (Criteria) this;
        }

        public Criteria andMonthlyIncomeIn(List<Integer> values) {
            addCriterion("monthlyIncome in", values, "monthlyIncome");
            return (Criteria) this;
        }

        public Criteria andMonthlyIncomeNotIn(List<Integer> values) {
            addCriterion("monthlyIncome not in", values, "monthlyIncome");
            return (Criteria) this;
        }

        public Criteria andMonthlyIncomeBetween(Integer value1, Integer value2) {
            addCriterion("monthlyIncome between", value1, value2, "monthlyIncome");
            return (Criteria) this;
        }

        public Criteria andMonthlyIncomeNotBetween(Integer value1, Integer value2) {
            addCriterion("monthlyIncome not between", value1, value2, "monthlyIncome");
            return (Criteria) this;
        }

        public Criteria andMonthlyConsumptionIsNull() {
            addCriterion("monthlyConsumption is null");
            return (Criteria) this;
        }

        public Criteria andMonthlyConsumptionIsNotNull() {
            addCriterion("monthlyConsumption is not null");
            return (Criteria) this;
        }

        public Criteria andMonthlyConsumptionEqualTo(Integer value) {
            addCriterion("monthlyConsumption =", value, "monthlyConsumption");
            return (Criteria) this;
        }

        public Criteria andMonthlyConsumptionNotEqualTo(Integer value) {
            addCriterion("monthlyConsumption <>", value, "monthlyConsumption");
            return (Criteria) this;
        }

        public Criteria andMonthlyConsumptionGreaterThan(Integer value) {
            addCriterion("monthlyConsumption >", value, "monthlyConsumption");
            return (Criteria) this;
        }

        public Criteria andMonthlyConsumptionGreaterThanOrEqualTo(Integer value) {
            addCriterion("monthlyConsumption >=", value, "monthlyConsumption");
            return (Criteria) this;
        }

        public Criteria andMonthlyConsumptionLessThan(Integer value) {
            addCriterion("monthlyConsumption <", value, "monthlyConsumption");
            return (Criteria) this;
        }

        public Criteria andMonthlyConsumptionLessThanOrEqualTo(Integer value) {
            addCriterion("monthlyConsumption <=", value, "monthlyConsumption");
            return (Criteria) this;
        }

        public Criteria andMonthlyConsumptionIn(List<Integer> values) {
            addCriterion("monthlyConsumption in", values, "monthlyConsumption");
            return (Criteria) this;
        }

        public Criteria andMonthlyConsumptionNotIn(List<Integer> values) {
            addCriterion("monthlyConsumption not in", values, "monthlyConsumption");
            return (Criteria) this;
        }

        public Criteria andMonthlyConsumptionBetween(Integer value1, Integer value2) {
            addCriterion("monthlyConsumption between", value1, value2, "monthlyConsumption");
            return (Criteria) this;
        }

        public Criteria andMonthlyConsumptionNotBetween(Integer value1, Integer value2) {
            addCriterion("monthlyConsumption not between", value1, value2, "monthlyConsumption");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityNumberIsNull() {
            addCriterion("socialSecurityNumber is null");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityNumberIsNotNull() {
            addCriterion("socialSecurityNumber is not null");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityNumberEqualTo(String value) {
            addCriterion("socialSecurityNumber =", value, "socialSecurityNumber");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityNumberNotEqualTo(String value) {
            addCriterion("socialSecurityNumber <>", value, "socialSecurityNumber");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityNumberGreaterThan(String value) {
            addCriterion("socialSecurityNumber >", value, "socialSecurityNumber");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityNumberGreaterThanOrEqualTo(String value) {
            addCriterion("socialSecurityNumber >=", value, "socialSecurityNumber");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityNumberLessThan(String value) {
            addCriterion("socialSecurityNumber <", value, "socialSecurityNumber");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityNumberLessThanOrEqualTo(String value) {
            addCriterion("socialSecurityNumber <=", value, "socialSecurityNumber");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityNumberLike(String value) {
            addCriterion("socialSecurityNumber like", value, "socialSecurityNumber");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityNumberNotLike(String value) {
            addCriterion("socialSecurityNumber not like", value, "socialSecurityNumber");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityNumberIn(List<String> values) {
            addCriterion("socialSecurityNumber in", values, "socialSecurityNumber");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityNumberNotIn(List<String> values) {
            addCriterion("socialSecurityNumber not in", values, "socialSecurityNumber");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityNumberBetween(String value1, String value2) {
            addCriterion("socialSecurityNumber between", value1, value2, "socialSecurityNumber");
            return (Criteria) this;
        }

        public Criteria andSocialSecurityNumberNotBetween(String value1, String value2) {
            addCriterion("socialSecurityNumber not between", value1, value2, "socialSecurityNumber");
            return (Criteria) this;
        }

        public Criteria andLivingConditionsIsNull() {
            addCriterion("livingConditions is null");
            return (Criteria) this;
        }

        public Criteria andLivingConditionsIsNotNull() {
            addCriterion("livingConditions is not null");
            return (Criteria) this;
        }

        public Criteria andLivingConditionsEqualTo(Integer value) {
            addCriterion("livingConditions =", value, "livingConditions");
            return (Criteria) this;
        }

        public Criteria andLivingConditionsNotEqualTo(Integer value) {
            addCriterion("livingConditions <>", value, "livingConditions");
            return (Criteria) this;
        }

        public Criteria andLivingConditionsGreaterThan(Integer value) {
            addCriterion("livingConditions >", value, "livingConditions");
            return (Criteria) this;
        }

        public Criteria andLivingConditionsGreaterThanOrEqualTo(Integer value) {
            addCriterion("livingConditions >=", value, "livingConditions");
            return (Criteria) this;
        }

        public Criteria andLivingConditionsLessThan(Integer value) {
            addCriterion("livingConditions <", value, "livingConditions");
            return (Criteria) this;
        }

        public Criteria andLivingConditionsLessThanOrEqualTo(Integer value) {
            addCriterion("livingConditions <=", value, "livingConditions");
            return (Criteria) this;
        }

        public Criteria andLivingConditionsIn(List<Integer> values) {
            addCriterion("livingConditions in", values, "livingConditions");
            return (Criteria) this;
        }

        public Criteria andLivingConditionsNotIn(List<Integer> values) {
            addCriterion("livingConditions not in", values, "livingConditions");
            return (Criteria) this;
        }

        public Criteria andLivingConditionsBetween(Integer value1, Integer value2) {
            addCriterion("livingConditions between", value1, value2, "livingConditions");
            return (Criteria) this;
        }

        public Criteria andLivingConditionsNotBetween(Integer value1, Integer value2) {
            addCriterion("livingConditions not between", value1, value2, "livingConditions");
            return (Criteria) this;
        }

        public Criteria andNatureHousingIsNull() {
            addCriterion("natureHousing is null");
            return (Criteria) this;
        }

        public Criteria andNatureHousingIsNotNull() {
            addCriterion("natureHousing is not null");
            return (Criteria) this;
        }

        public Criteria andNatureHousingEqualTo(Integer value) {
            addCriterion("natureHousing =", value, "natureHousing");
            return (Criteria) this;
        }

        public Criteria andNatureHousingNotEqualTo(Integer value) {
            addCriterion("natureHousing <>", value, "natureHousing");
            return (Criteria) this;
        }

        public Criteria andNatureHousingGreaterThan(Integer value) {
            addCriterion("natureHousing >", value, "natureHousing");
            return (Criteria) this;
        }

        public Criteria andNatureHousingGreaterThanOrEqualTo(Integer value) {
            addCriterion("natureHousing >=", value, "natureHousing");
            return (Criteria) this;
        }

        public Criteria andNatureHousingLessThan(Integer value) {
            addCriterion("natureHousing <", value, "natureHousing");
            return (Criteria) this;
        }

        public Criteria andNatureHousingLessThanOrEqualTo(Integer value) {
            addCriterion("natureHousing <=", value, "natureHousing");
            return (Criteria) this;
        }

        public Criteria andNatureHousingIn(List<Integer> values) {
            addCriterion("natureHousing in", values, "natureHousing");
            return (Criteria) this;
        }

        public Criteria andNatureHousingNotIn(List<Integer> values) {
            addCriterion("natureHousing not in", values, "natureHousing");
            return (Criteria) this;
        }

        public Criteria andNatureHousingBetween(Integer value1, Integer value2) {
            addCriterion("natureHousing between", value1, value2, "natureHousing");
            return (Criteria) this;
        }

        public Criteria andNatureHousingNotBetween(Integer value1, Integer value2) {
            addCriterion("natureHousing not between", value1, value2, "natureHousing");
            return (Criteria) this;
        }

        public Criteria andHouseTypeIsNull() {
            addCriterion("houseType is null");
            return (Criteria) this;
        }

        public Criteria andHouseTypeIsNotNull() {
            addCriterion("houseType is not null");
            return (Criteria) this;
        }

        public Criteria andHouseTypeEqualTo(Integer value) {
            addCriterion("houseType =", value, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeNotEqualTo(Integer value) {
            addCriterion("houseType <>", value, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeGreaterThan(Integer value) {
            addCriterion("houseType >", value, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("houseType >=", value, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeLessThan(Integer value) {
            addCriterion("houseType <", value, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeLessThanOrEqualTo(Integer value) {
            addCriterion("houseType <=", value, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeIn(List<Integer> values) {
            addCriterion("houseType in", values, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeNotIn(List<Integer> values) {
            addCriterion("houseType not in", values, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeBetween(Integer value1, Integer value2) {
            addCriterion("houseType between", value1, value2, "houseType");
            return (Criteria) this;
        }

        public Criteria andHouseTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("houseType not between", value1, value2, "houseType");
            return (Criteria) this;
        }

        public Criteria andHaveElevatorIsNull() {
            addCriterion("haveElevator is null");
            return (Criteria) this;
        }

        public Criteria andHaveElevatorIsNotNull() {
            addCriterion("haveElevator is not null");
            return (Criteria) this;
        }

        public Criteria andHaveElevatorEqualTo(Integer value) {
            addCriterion("haveElevator =", value, "haveElevator");
            return (Criteria) this;
        }

        public Criteria andHaveElevatorNotEqualTo(Integer value) {
            addCriterion("haveElevator <>", value, "haveElevator");
            return (Criteria) this;
        }

        public Criteria andHaveElevatorGreaterThan(Integer value) {
            addCriterion("haveElevator >", value, "haveElevator");
            return (Criteria) this;
        }

        public Criteria andHaveElevatorGreaterThanOrEqualTo(Integer value) {
            addCriterion("haveElevator >=", value, "haveElevator");
            return (Criteria) this;
        }

        public Criteria andHaveElevatorLessThan(Integer value) {
            addCriterion("haveElevator <", value, "haveElevator");
            return (Criteria) this;
        }

        public Criteria andHaveElevatorLessThanOrEqualTo(Integer value) {
            addCriterion("haveElevator <=", value, "haveElevator");
            return (Criteria) this;
        }

        public Criteria andHaveElevatorIn(List<Integer> values) {
            addCriterion("haveElevator in", values, "haveElevator");
            return (Criteria) this;
        }

        public Criteria andHaveElevatorNotIn(List<Integer> values) {
            addCriterion("haveElevator not in", values, "haveElevator");
            return (Criteria) this;
        }

        public Criteria andHaveElevatorBetween(Integer value1, Integer value2) {
            addCriterion("haveElevator between", value1, value2, "haveElevator");
            return (Criteria) this;
        }

        public Criteria andHaveElevatorNotBetween(Integer value1, Integer value2) {
            addCriterion("haveElevator not between", value1, value2, "haveElevator");
            return (Criteria) this;
        }

        public Criteria andHouseFloorIsNull() {
            addCriterion("houseFloor is null");
            return (Criteria) this;
        }

        public Criteria andHouseFloorIsNotNull() {
            addCriterion("houseFloor is not null");
            return (Criteria) this;
        }

        public Criteria andHouseFloorEqualTo(Integer value) {
            addCriterion("houseFloor =", value, "houseFloor");
            return (Criteria) this;
        }

        public Criteria andHouseFloorNotEqualTo(Integer value) {
            addCriterion("houseFloor <>", value, "houseFloor");
            return (Criteria) this;
        }

        public Criteria andHouseFloorGreaterThan(Integer value) {
            addCriterion("houseFloor >", value, "houseFloor");
            return (Criteria) this;
        }

        public Criteria andHouseFloorGreaterThanOrEqualTo(Integer value) {
            addCriterion("houseFloor >=", value, "houseFloor");
            return (Criteria) this;
        }

        public Criteria andHouseFloorLessThan(Integer value) {
            addCriterion("houseFloor <", value, "houseFloor");
            return (Criteria) this;
        }

        public Criteria andHouseFloorLessThanOrEqualTo(Integer value) {
            addCriterion("houseFloor <=", value, "houseFloor");
            return (Criteria) this;
        }

        public Criteria andHouseFloorIn(List<Integer> values) {
            addCriterion("houseFloor in", values, "houseFloor");
            return (Criteria) this;
        }

        public Criteria andHouseFloorNotIn(List<Integer> values) {
            addCriterion("houseFloor not in", values, "houseFloor");
            return (Criteria) this;
        }

        public Criteria andHouseFloorBetween(Integer value1, Integer value2) {
            addCriterion("houseFloor between", value1, value2, "houseFloor");
            return (Criteria) this;
        }

        public Criteria andHouseFloorNotBetween(Integer value1, Integer value2) {
            addCriterion("houseFloor not between", value1, value2, "houseFloor");
            return (Criteria) this;
        }

        public Criteria andIndoorToiletIsNull() {
            addCriterion("indoorToilet is null");
            return (Criteria) this;
        }

        public Criteria andIndoorToiletIsNotNull() {
            addCriterion("indoorToilet is not null");
            return (Criteria) this;
        }

        public Criteria andIndoorToiletEqualTo(Integer value) {
            addCriterion("indoorToilet =", value, "indoorToilet");
            return (Criteria) this;
        }

        public Criteria andIndoorToiletNotEqualTo(Integer value) {
            addCriterion("indoorToilet <>", value, "indoorToilet");
            return (Criteria) this;
        }

        public Criteria andIndoorToiletGreaterThan(Integer value) {
            addCriterion("indoorToilet >", value, "indoorToilet");
            return (Criteria) this;
        }

        public Criteria andIndoorToiletGreaterThanOrEqualTo(Integer value) {
            addCriterion("indoorToilet >=", value, "indoorToilet");
            return (Criteria) this;
        }

        public Criteria andIndoorToiletLessThan(Integer value) {
            addCriterion("indoorToilet <", value, "indoorToilet");
            return (Criteria) this;
        }

        public Criteria andIndoorToiletLessThanOrEqualTo(Integer value) {
            addCriterion("indoorToilet <=", value, "indoorToilet");
            return (Criteria) this;
        }

        public Criteria andIndoorToiletIn(List<Integer> values) {
            addCriterion("indoorToilet in", values, "indoorToilet");
            return (Criteria) this;
        }

        public Criteria andIndoorToiletNotIn(List<Integer> values) {
            addCriterion("indoorToilet not in", values, "indoorToilet");
            return (Criteria) this;
        }

        public Criteria andIndoorToiletBetween(Integer value1, Integer value2) {
            addCriterion("indoorToilet between", value1, value2, "indoorToilet");
            return (Criteria) this;
        }

        public Criteria andIndoorToiletNotBetween(Integer value1, Integer value2) {
            addCriterion("indoorToilet not between", value1, value2, "indoorToilet");
            return (Criteria) this;
        }

        public Criteria andBathEquipmentIsNull() {
            addCriterion("bathEquipment is null");
            return (Criteria) this;
        }

        public Criteria andBathEquipmentIsNotNull() {
            addCriterion("bathEquipment is not null");
            return (Criteria) this;
        }

        public Criteria andBathEquipmentEqualTo(Integer value) {
            addCriterion("bathEquipment =", value, "bathEquipment");
            return (Criteria) this;
        }

        public Criteria andBathEquipmentNotEqualTo(Integer value) {
            addCriterion("bathEquipment <>", value, "bathEquipment");
            return (Criteria) this;
        }

        public Criteria andBathEquipmentGreaterThan(Integer value) {
            addCriterion("bathEquipment >", value, "bathEquipment");
            return (Criteria) this;
        }

        public Criteria andBathEquipmentGreaterThanOrEqualTo(Integer value) {
            addCriterion("bathEquipment >=", value, "bathEquipment");
            return (Criteria) this;
        }

        public Criteria andBathEquipmentLessThan(Integer value) {
            addCriterion("bathEquipment <", value, "bathEquipment");
            return (Criteria) this;
        }

        public Criteria andBathEquipmentLessThanOrEqualTo(Integer value) {
            addCriterion("bathEquipment <=", value, "bathEquipment");
            return (Criteria) this;
        }

        public Criteria andBathEquipmentIn(List<Integer> values) {
            addCriterion("bathEquipment in", values, "bathEquipment");
            return (Criteria) this;
        }

        public Criteria andBathEquipmentNotIn(List<Integer> values) {
            addCriterion("bathEquipment not in", values, "bathEquipment");
            return (Criteria) this;
        }

        public Criteria andBathEquipmentBetween(Integer value1, Integer value2) {
            addCriterion("bathEquipment between", value1, value2, "bathEquipment");
            return (Criteria) this;
        }

        public Criteria andBathEquipmentNotBetween(Integer value1, Integer value2) {
            addCriterion("bathEquipment not between", value1, value2, "bathEquipment");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreate_timeEqualTo(Date value) {
            addCriterion("create_time =", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeGreaterThan(Date value) {
            addCriterion("create_time >", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeLessThan(Date value) {
            addCriterion("create_time <", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIn(List<Date> values) {
            addCriterion("create_time in", values, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "create_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeEqualTo(Date value) {
            addCriterion("update_time =", value, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeGreaterThan(Date value) {
            addCriterion("update_time >", value, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeLessThan(Date value) {
            addCriterion("update_time <", value, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeIn(List<Date> values) {
            addCriterion("update_time in", values, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "update_time");
            return (Criteria) this;
        }

        public Criteria andUpdate_timeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "update_time");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("isDelete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("isDelete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Integer value) {
            addCriterion("isDelete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Integer value) {
            addCriterion("isDelete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Integer value) {
            addCriterion("isDelete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Integer value) {
            addCriterion("isDelete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Integer value) {
            addCriterion("isDelete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Integer value) {
            addCriterion("isDelete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Integer> values) {
            addCriterion("isDelete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Integer> values) {
            addCriterion("isDelete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Integer value1, Integer value2) {
            addCriterion("isDelete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Integer value1, Integer value2) {
            addCriterion("isDelete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andPermanentAddressIsNull() {
            addCriterion("permanentAddress is null");
            return (Criteria) this;
        }

        public Criteria andPermanentAddressIsNotNull() {
            addCriterion("permanentAddress is not null");
            return (Criteria) this;
        }

        public Criteria andPermanentAddressEqualTo(String value) {
            addCriterion("permanentAddress =", value, "permanentAddress");
            return (Criteria) this;
        }

        public Criteria andPermanentAddressNotEqualTo(String value) {
            addCriterion("permanentAddress <>", value, "permanentAddress");
            return (Criteria) this;
        }

        public Criteria andPermanentAddressGreaterThan(String value) {
            addCriterion("permanentAddress >", value, "permanentAddress");
            return (Criteria) this;
        }

        public Criteria andPermanentAddressGreaterThanOrEqualTo(String value) {
            addCriterion("permanentAddress >=", value, "permanentAddress");
            return (Criteria) this;
        }

        public Criteria andPermanentAddressLessThan(String value) {
            addCriterion("permanentAddress <", value, "permanentAddress");
            return (Criteria) this;
        }

        public Criteria andPermanentAddressLessThanOrEqualTo(String value) {
            addCriterion("permanentAddress <=", value, "permanentAddress");
            return (Criteria) this;
        }

        public Criteria andPermanentAddressLike(String value) {
            addCriterion("permanentAddress like", value, "permanentAddress");
            return (Criteria) this;
        }

        public Criteria andPermanentAddressNotLike(String value) {
            addCriterion("permanentAddress not like", value, "permanentAddress");
            return (Criteria) this;
        }

        public Criteria andPermanentAddressIn(List<String> values) {
            addCriterion("permanentAddress in", values, "permanentAddress");
            return (Criteria) this;
        }

        public Criteria andPermanentAddressNotIn(List<String> values) {
            addCriterion("permanentAddress not in", values, "permanentAddress");
            return (Criteria) this;
        }

        public Criteria andPermanentAddressBetween(String value1, String value2) {
            addCriterion("permanentAddress between", value1, value2, "permanentAddress");
            return (Criteria) this;
        }

        public Criteria andPermanentAddressNotBetween(String value1, String value2) {
            addCriterion("permanentAddress not between", value1, value2, "permanentAddress");
            return (Criteria) this;
        }

        public Criteria andStreetIsNull() {
            addCriterion("street is null");
            return (Criteria) this;
        }

        public Criteria andStreetIsNotNull() {
            addCriterion("street is not null");
            return (Criteria) this;
        }

        public Criteria andStreetEqualTo(String value) {
            addCriterion("street =", value, "street");
            return (Criteria) this;
        }

        public Criteria andStreetNotEqualTo(String value) {
            addCriterion("street <>", value, "street");
            return (Criteria) this;
        }

        public Criteria andStreetGreaterThan(String value) {
            addCriterion("street >", value, "street");
            return (Criteria) this;
        }

        public Criteria andStreetGreaterThanOrEqualTo(String value) {
            addCriterion("street >=", value, "street");
            return (Criteria) this;
        }

        public Criteria andStreetLessThan(String value) {
            addCriterion("street <", value, "street");
            return (Criteria) this;
        }

        public Criteria andStreetLessThanOrEqualTo(String value) {
            addCriterion("street <=", value, "street");
            return (Criteria) this;
        }

        public Criteria andStreetLike(String value) {
            addCriterion("street like", value, "street");
            return (Criteria) this;
        }

        public Criteria andStreetNotLike(String value) {
            addCriterion("street not like", value, "street");
            return (Criteria) this;
        }

        public Criteria andStreetIn(List<String> values) {
            addCriterion("street in", values, "street");
            return (Criteria) this;
        }

        public Criteria andStreetNotIn(List<String> values) {
            addCriterion("street not in", values, "street");
            return (Criteria) this;
        }

        public Criteria andStreetBetween(String value1, String value2) {
            addCriterion("street between", value1, value2, "street");
            return (Criteria) this;
        }

        public Criteria andStreetNotBetween(String value1, String value2) {
            addCriterion("street not between", value1, value2, "street");
            return (Criteria) this;
        }

        public Criteria andVillageCommitteeIsNull() {
            addCriterion("villageCommittee is null");
            return (Criteria) this;
        }

        public Criteria andVillageCommitteeIsNotNull() {
            addCriterion("villageCommittee is not null");
            return (Criteria) this;
        }

        public Criteria andVillageCommitteeEqualTo(String value) {
            addCriterion("villageCommittee =", value, "villageCommittee");
            return (Criteria) this;
        }

        public Criteria andVillageCommitteeNotEqualTo(String value) {
            addCriterion("villageCommittee <>", value, "villageCommittee");
            return (Criteria) this;
        }

        public Criteria andVillageCommitteeGreaterThan(String value) {
            addCriterion("villageCommittee >", value, "villageCommittee");
            return (Criteria) this;
        }

        public Criteria andVillageCommitteeGreaterThanOrEqualTo(String value) {
            addCriterion("villageCommittee >=", value, "villageCommittee");
            return (Criteria) this;
        }

        public Criteria andVillageCommitteeLessThan(String value) {
            addCriterion("villageCommittee <", value, "villageCommittee");
            return (Criteria) this;
        }

        public Criteria andVillageCommitteeLessThanOrEqualTo(String value) {
            addCriterion("villageCommittee <=", value, "villageCommittee");
            return (Criteria) this;
        }

        public Criteria andVillageCommitteeLike(String value) {
            addCriterion("villageCommittee like", value, "villageCommittee");
            return (Criteria) this;
        }

        public Criteria andVillageCommitteeNotLike(String value) {
            addCriterion("villageCommittee not like", value, "villageCommittee");
            return (Criteria) this;
        }

        public Criteria andVillageCommitteeIn(List<String> values) {
            addCriterion("villageCommittee in", values, "villageCommittee");
            return (Criteria) this;
        }

        public Criteria andVillageCommitteeNotIn(List<String> values) {
            addCriterion("villageCommittee not in", values, "villageCommittee");
            return (Criteria) this;
        }

        public Criteria andVillageCommitteeBetween(String value1, String value2) {
            addCriterion("villageCommittee between", value1, value2, "villageCommittee");
            return (Criteria) this;
        }

        public Criteria andVillageCommitteeNotBetween(String value1, String value2) {
            addCriterion("villageCommittee not between", value1, value2, "villageCommittee");
            return (Criteria) this;
        }

        public Criteria andFilingUnitIsNull() {
            addCriterion("filingUnit is null");
            return (Criteria) this;
        }

        public Criteria andFilingUnitIsNotNull() {
            addCriterion("filingUnit is not null");
            return (Criteria) this;
        }

        public Criteria andFilingUnitEqualTo(String value) {
            addCriterion("filingUnit =", value, "filingUnit");
            return (Criteria) this;
        }

        public Criteria andFilingUnitNotEqualTo(String value) {
            addCriterion("filingUnit <>", value, "filingUnit");
            return (Criteria) this;
        }

        public Criteria andFilingUnitGreaterThan(String value) {
            addCriterion("filingUnit >", value, "filingUnit");
            return (Criteria) this;
        }

        public Criteria andFilingUnitGreaterThanOrEqualTo(String value) {
            addCriterion("filingUnit >=", value, "filingUnit");
            return (Criteria) this;
        }

        public Criteria andFilingUnitLessThan(String value) {
            addCriterion("filingUnit <", value, "filingUnit");
            return (Criteria) this;
        }

        public Criteria andFilingUnitLessThanOrEqualTo(String value) {
            addCriterion("filingUnit <=", value, "filingUnit");
            return (Criteria) this;
        }

        public Criteria andFilingUnitLike(String value) {
            addCriterion("filingUnit like", value, "filingUnit");
            return (Criteria) this;
        }

        public Criteria andFilingUnitNotLike(String value) {
            addCriterion("filingUnit not like", value, "filingUnit");
            return (Criteria) this;
        }

        public Criteria andFilingUnitIn(List<String> values) {
            addCriterion("filingUnit in", values, "filingUnit");
            return (Criteria) this;
        }

        public Criteria andFilingUnitNotIn(List<String> values) {
            addCriterion("filingUnit not in", values, "filingUnit");
            return (Criteria) this;
        }

        public Criteria andFilingUnitBetween(String value1, String value2) {
            addCriterion("filingUnit between", value1, value2, "filingUnit");
            return (Criteria) this;
        }

        public Criteria andFilingUnitNotBetween(String value1, String value2) {
            addCriterion("filingUnit not between", value1, value2, "filingUnit");
            return (Criteria) this;
        }

        public Criteria andArchivistIsNull() {
            addCriterion("archivist is null");
            return (Criteria) this;
        }

        public Criteria andArchivistIsNotNull() {
            addCriterion("archivist is not null");
            return (Criteria) this;
        }

        public Criteria andArchivistEqualTo(String value) {
            addCriterion("archivist =", value, "archivist");
            return (Criteria) this;
        }

        public Criteria andArchivistNotEqualTo(String value) {
            addCriterion("archivist <>", value, "archivist");
            return (Criteria) this;
        }

        public Criteria andArchivistGreaterThan(String value) {
            addCriterion("archivist >", value, "archivist");
            return (Criteria) this;
        }

        public Criteria andArchivistGreaterThanOrEqualTo(String value) {
            addCriterion("archivist >=", value, "archivist");
            return (Criteria) this;
        }

        public Criteria andArchivistLessThan(String value) {
            addCriterion("archivist <", value, "archivist");
            return (Criteria) this;
        }

        public Criteria andArchivistLessThanOrEqualTo(String value) {
            addCriterion("archivist <=", value, "archivist");
            return (Criteria) this;
        }

        public Criteria andArchivistLike(String value) {
            addCriterion("archivist like", value, "archivist");
            return (Criteria) this;
        }

        public Criteria andArchivistNotLike(String value) {
            addCriterion("archivist not like", value, "archivist");
            return (Criteria) this;
        }

        public Criteria andArchivistIn(List<String> values) {
            addCriterion("archivist in", values, "archivist");
            return (Criteria) this;
        }

        public Criteria andArchivistNotIn(List<String> values) {
            addCriterion("archivist not in", values, "archivist");
            return (Criteria) this;
        }

        public Criteria andArchivistBetween(String value1, String value2) {
            addCriterion("archivist between", value1, value2, "archivist");
            return (Criteria) this;
        }

        public Criteria andArchivistNotBetween(String value1, String value2) {
            addCriterion("archivist not between", value1, value2, "archivist");
            return (Criteria) this;
        }

        public Criteria andResponsibleHealthManagerIsNull() {
            addCriterion("responsibleHealthManager is null");
            return (Criteria) this;
        }

        public Criteria andResponsibleHealthManagerIsNotNull() {
            addCriterion("responsibleHealthManager is not null");
            return (Criteria) this;
        }

        public Criteria andResponsibleHealthManagerEqualTo(String value) {
            addCriterion("responsibleHealthManager =", value, "responsibleHealthManager");
            return (Criteria) this;
        }

        public Criteria andResponsibleHealthManagerNotEqualTo(String value) {
            addCriterion("responsibleHealthManager <>", value, "responsibleHealthManager");
            return (Criteria) this;
        }

        public Criteria andResponsibleHealthManagerGreaterThan(String value) {
            addCriterion("responsibleHealthManager >", value, "responsibleHealthManager");
            return (Criteria) this;
        }

        public Criteria andResponsibleHealthManagerGreaterThanOrEqualTo(String value) {
            addCriterion("responsibleHealthManager >=", value, "responsibleHealthManager");
            return (Criteria) this;
        }

        public Criteria andResponsibleHealthManagerLessThan(String value) {
            addCriterion("responsibleHealthManager <", value, "responsibleHealthManager");
            return (Criteria) this;
        }

        public Criteria andResponsibleHealthManagerLessThanOrEqualTo(String value) {
            addCriterion("responsibleHealthManager <=", value, "responsibleHealthManager");
            return (Criteria) this;
        }

        public Criteria andResponsibleHealthManagerLike(String value) {
            addCriterion("responsibleHealthManager like", value, "responsibleHealthManager");
            return (Criteria) this;
        }

        public Criteria andResponsibleHealthManagerNotLike(String value) {
            addCriterion("responsibleHealthManager not like", value, "responsibleHealthManager");
            return (Criteria) this;
        }

        public Criteria andResponsibleHealthManagerIn(List<String> values) {
            addCriterion("responsibleHealthManager in", values, "responsibleHealthManager");
            return (Criteria) this;
        }

        public Criteria andResponsibleHealthManagerNotIn(List<String> values) {
            addCriterion("responsibleHealthManager not in", values, "responsibleHealthManager");
            return (Criteria) this;
        }

        public Criteria andResponsibleHealthManagerBetween(String value1, String value2) {
            addCriterion("responsibleHealthManager between", value1, value2, "responsibleHealthManager");
            return (Criteria) this;
        }

        public Criteria andResponsibleHealthManagerNotBetween(String value1, String value2) {
            addCriterion("responsibleHealthManager not between", value1, value2, "responsibleHealthManager");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("createDate is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("createDate is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(String value) {
            addCriterion("createDate =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(String value) {
            addCriterion("createDate <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(String value) {
            addCriterion("createDate >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(String value) {
            addCriterion("createDate >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(String value) {
            addCriterion("createDate <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(String value) {
            addCriterion("createDate <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLike(String value) {
            addCriterion("createDate like", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotLike(String value) {
            addCriterion("createDate not like", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<String> values) {
            addCriterion("createDate in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<String> values) {
            addCriterion("createDate not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(String value1, String value2) {
            addCriterion("createDate between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(String value1, String value2) {
            addCriterion("createDate not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andFileNumberIsNull() {
            addCriterion("fileNumber is null");
            return (Criteria) this;
        }

        public Criteria andFileNumberIsNotNull() {
            addCriterion("fileNumber is not null");
            return (Criteria) this;
        }

        public Criteria andFileNumberEqualTo(String value) {
            addCriterion("fileNumber =", value, "fileNumber");
            return (Criteria) this;
        }

        public Criteria andFileNumberNotEqualTo(String value) {
            addCriterion("fileNumber <>", value, "fileNumber");
            return (Criteria) this;
        }

        public Criteria andFileNumberGreaterThan(String value) {
            addCriterion("fileNumber >", value, "fileNumber");
            return (Criteria) this;
        }

        public Criteria andFileNumberGreaterThanOrEqualTo(String value) {
            addCriterion("fileNumber >=", value, "fileNumber");
            return (Criteria) this;
        }

        public Criteria andFileNumberLessThan(String value) {
            addCriterion("fileNumber <", value, "fileNumber");
            return (Criteria) this;
        }

        public Criteria andFileNumberLessThanOrEqualTo(String value) {
            addCriterion("fileNumber <=", value, "fileNumber");
            return (Criteria) this;
        }

        public Criteria andFileNumberLike(String value) {
            addCriterion("fileNumber like", value, "fileNumber");
            return (Criteria) this;
        }

        public Criteria andFileNumberNotLike(String value) {
            addCriterion("fileNumber not like", value, "fileNumber");
            return (Criteria) this;
        }

        public Criteria andFileNumberIn(List<String> values) {
            addCriterion("fileNumber in", values, "fileNumber");
            return (Criteria) this;
        }

        public Criteria andFileNumberNotIn(List<String> values) {
            addCriterion("fileNumber not in", values, "fileNumber");
            return (Criteria) this;
        }

        public Criteria andFileNumberBetween(String value1, String value2) {
            addCriterion("fileNumber between", value1, value2, "fileNumber");
            return (Criteria) this;
        }

        public Criteria andFileNumberNotBetween(String value1, String value2) {
            addCriterion("fileNumber not between", value1, value2, "fileNumber");
            return (Criteria) this;
        }

        public Criteria andBirthdayIsNull() {
            addCriterion("birthday is null");
            return (Criteria) this;
        }

        public Criteria andBirthdayIsNotNull() {
            addCriterion("birthday is not null");
            return (Criteria) this;
        }

        public Criteria andBirthdayEqualTo(String value) {
            addCriterion("birthday =", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotEqualTo(String value) {
            addCriterion("birthday <>", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayGreaterThan(String value) {
            addCriterion("birthday >", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayGreaterThanOrEqualTo(String value) {
            addCriterion("birthday >=", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLessThan(String value) {
            addCriterion("birthday <", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLessThanOrEqualTo(String value) {
            addCriterion("birthday <=", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLike(String value) {
            addCriterion("birthday like", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotLike(String value) {
            addCriterion("birthday not like", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayIn(List<String> values) {
            addCriterion("birthday in", values, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotIn(List<String> values) {
            addCriterion("birthday not in", values, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayBetween(String value1, String value2) {
            addCriterion("birthday between", value1, value2, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotBetween(String value1, String value2) {
            addCriterion("birthday not between", value1, value2, "birthday");
            return (Criteria) this;
        }

        public Criteria andTelephoneNumberIsNull() {
            addCriterion("telephoneNumber is null");
            return (Criteria) this;
        }

        public Criteria andTelephoneNumberIsNotNull() {
            addCriterion("telephoneNumber is not null");
            return (Criteria) this;
        }

        public Criteria andTelephoneNumberEqualTo(String value) {
            addCriterion("telephoneNumber =", value, "telephoneNumber");
            return (Criteria) this;
        }

        public Criteria andTelephoneNumberNotEqualTo(String value) {
            addCriterion("telephoneNumber <>", value, "telephoneNumber");
            return (Criteria) this;
        }

        public Criteria andTelephoneNumberGreaterThan(String value) {
            addCriterion("telephoneNumber >", value, "telephoneNumber");
            return (Criteria) this;
        }

        public Criteria andTelephoneNumberGreaterThanOrEqualTo(String value) {
            addCriterion("telephoneNumber >=", value, "telephoneNumber");
            return (Criteria) this;
        }

        public Criteria andTelephoneNumberLessThan(String value) {
            addCriterion("telephoneNumber <", value, "telephoneNumber");
            return (Criteria) this;
        }

        public Criteria andTelephoneNumberLessThanOrEqualTo(String value) {
            addCriterion("telephoneNumber <=", value, "telephoneNumber");
            return (Criteria) this;
        }

        public Criteria andTelephoneNumberLike(String value) {
            addCriterion("telephoneNumber like", value, "telephoneNumber");
            return (Criteria) this;
        }

        public Criteria andTelephoneNumberNotLike(String value) {
            addCriterion("telephoneNumber not like", value, "telephoneNumber");
            return (Criteria) this;
        }

        public Criteria andTelephoneNumberIn(List<String> values) {
            addCriterion("telephoneNumber in", values, "telephoneNumber");
            return (Criteria) this;
        }

        public Criteria andTelephoneNumberNotIn(List<String> values) {
            addCriterion("telephoneNumber not in", values, "telephoneNumber");
            return (Criteria) this;
        }

        public Criteria andTelephoneNumberBetween(String value1, String value2) {
            addCriterion("telephoneNumber between", value1, value2, "telephoneNumber");
            return (Criteria) this;
        }

        public Criteria andTelephoneNumberNotBetween(String value1, String value2) {
            addCriterion("telephoneNumber not between", value1, value2, "telephoneNumber");
            return (Criteria) this;
        }

        public Criteria andContactNameIsNull() {
            addCriterion("contactName is null");
            return (Criteria) this;
        }

        public Criteria andContactNameIsNotNull() {
            addCriterion("contactName is not null");
            return (Criteria) this;
        }

        public Criteria andContactNameEqualTo(String value) {
            addCriterion("contactName =", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameNotEqualTo(String value) {
            addCriterion("contactName <>", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameGreaterThan(String value) {
            addCriterion("contactName >", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameGreaterThanOrEqualTo(String value) {
            addCriterion("contactName >=", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameLessThan(String value) {
            addCriterion("contactName <", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameLessThanOrEqualTo(String value) {
            addCriterion("contactName <=", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameLike(String value) {
            addCriterion("contactName like", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameNotLike(String value) {
            addCriterion("contactName not like", value, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameIn(List<String> values) {
            addCriterion("contactName in", values, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameNotIn(List<String> values) {
            addCriterion("contactName not in", values, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameBetween(String value1, String value2) {
            addCriterion("contactName between", value1, value2, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactNameNotBetween(String value1, String value2) {
            addCriterion("contactName not between", value1, value2, "contactName");
            return (Criteria) this;
        }

        public Criteria andContactPhoneIsNull() {
            addCriterion("contactPhone is null");
            return (Criteria) this;
        }

        public Criteria andContactPhoneIsNotNull() {
            addCriterion("contactPhone is not null");
            return (Criteria) this;
        }

        public Criteria andContactPhoneEqualTo(String value) {
            addCriterion("contactPhone =", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotEqualTo(String value) {
            addCriterion("contactPhone <>", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneGreaterThan(String value) {
            addCriterion("contactPhone >", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("contactPhone >=", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneLessThan(String value) {
            addCriterion("contactPhone <", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneLessThanOrEqualTo(String value) {
            addCriterion("contactPhone <=", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneLike(String value) {
            addCriterion("contactPhone like", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotLike(String value) {
            addCriterion("contactPhone not like", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneIn(List<String> values) {
            addCriterion("contactPhone in", values, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotIn(List<String> values) {
            addCriterion("contactPhone not in", values, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneBetween(String value1, String value2) {
            addCriterion("contactPhone between", value1, value2, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotBetween(String value1, String value2) {
            addCriterion("contactPhone not between", value1, value2, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andRhTypeIsNull() {
            addCriterion("rhType is null");
            return (Criteria) this;
        }

        public Criteria andRhTypeIsNotNull() {
            addCriterion("rhType is not null");
            return (Criteria) this;
        }

        public Criteria andRhTypeEqualTo(Integer value) {
            addCriterion("rhType =", value, "rhType");
            return (Criteria) this;
        }

        public Criteria andRhTypeNotEqualTo(Integer value) {
            addCriterion("rhType <>", value, "rhType");
            return (Criteria) this;
        }

        public Criteria andRhTypeGreaterThan(Integer value) {
            addCriterion("rhType >", value, "rhType");
            return (Criteria) this;
        }

        public Criteria andRhTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("rhType >=", value, "rhType");
            return (Criteria) this;
        }

        public Criteria andRhTypeLessThan(Integer value) {
            addCriterion("rhType <", value, "rhType");
            return (Criteria) this;
        }

        public Criteria andRhTypeLessThanOrEqualTo(Integer value) {
            addCriterion("rhType <=", value, "rhType");
            return (Criteria) this;
        }

        public Criteria andRhTypeIn(List<Integer> values) {
            addCriterion("rhType in", values, "rhType");
            return (Criteria) this;
        }

        public Criteria andRhTypeNotIn(List<Integer> values) {
            addCriterion("rhType not in", values, "rhType");
            return (Criteria) this;
        }

        public Criteria andRhTypeBetween(Integer value1, Integer value2) {
            addCriterion("rhType between", value1, value2, "rhType");
            return (Criteria) this;
        }

        public Criteria andRhTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("rhType not between", value1, value2, "rhType");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseIsNull() {
            addCriterion("physicalExercise is null");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseIsNotNull() {
            addCriterion("physicalExercise is not null");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseEqualTo(Integer value) {
            addCriterion("physicalExercise =", value, "physicalExercise");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseNotEqualTo(Integer value) {
            addCriterion("physicalExercise <>", value, "physicalExercise");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseGreaterThan(Integer value) {
            addCriterion("physicalExercise >", value, "physicalExercise");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseGreaterThanOrEqualTo(Integer value) {
            addCriterion("physicalExercise >=", value, "physicalExercise");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseLessThan(Integer value) {
            addCriterion("physicalExercise <", value, "physicalExercise");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseLessThanOrEqualTo(Integer value) {
            addCriterion("physicalExercise <=", value, "physicalExercise");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseIn(List<Integer> values) {
            addCriterion("physicalExercise in", values, "physicalExercise");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseNotIn(List<Integer> values) {
            addCriterion("physicalExercise not in", values, "physicalExercise");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseBetween(Integer value1, Integer value2) {
            addCriterion("physicalExercise between", value1, value2, "physicalExercise");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseNotBetween(Integer value1, Integer value2) {
            addCriterion("physicalExercise not between", value1, value2, "physicalExercise");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseTypeIsNull() {
            addCriterion("physicalExerciseType is null");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseTypeIsNotNull() {
            addCriterion("physicalExerciseType is not null");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseTypeEqualTo(Integer value) {
            addCriterion("physicalExerciseType =", value, "physicalExerciseType");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseTypeNotEqualTo(Integer value) {
            addCriterion("physicalExerciseType <>", value, "physicalExerciseType");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseTypeGreaterThan(Integer value) {
            addCriterion("physicalExerciseType >", value, "physicalExerciseType");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("physicalExerciseType >=", value, "physicalExerciseType");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseTypeLessThan(Integer value) {
            addCriterion("physicalExerciseType <", value, "physicalExerciseType");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseTypeLessThanOrEqualTo(Integer value) {
            addCriterion("physicalExerciseType <=", value, "physicalExerciseType");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseTypeIn(List<Integer> values) {
            addCriterion("physicalExerciseType in", values, "physicalExerciseType");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseTypeNotIn(List<Integer> values) {
            addCriterion("physicalExerciseType not in", values, "physicalExerciseType");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseTypeBetween(Integer value1, Integer value2) {
            addCriterion("physicalExerciseType between", value1, value2, "physicalExerciseType");
            return (Criteria) this;
        }

        public Criteria andPhysicalExerciseTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("physicalExerciseType not between", value1, value2, "physicalExerciseType");
            return (Criteria) this;
        }

        public Criteria andSleepConditionIsNull() {
            addCriterion("sleepCondition is null");
            return (Criteria) this;
        }

        public Criteria andSleepConditionIsNotNull() {
            addCriterion("sleepCondition is not null");
            return (Criteria) this;
        }

        public Criteria andSleepConditionEqualTo(String value) {
            addCriterion("sleepCondition =", value, "sleepCondition");
            return (Criteria) this;
        }

        public Criteria andSleepConditionNotEqualTo(String value) {
            addCriterion("sleepCondition <>", value, "sleepCondition");
            return (Criteria) this;
        }

        public Criteria andSleepConditionGreaterThan(String value) {
            addCriterion("sleepCondition >", value, "sleepCondition");
            return (Criteria) this;
        }

        public Criteria andSleepConditionGreaterThanOrEqualTo(String value) {
            addCriterion("sleepCondition >=", value, "sleepCondition");
            return (Criteria) this;
        }

        public Criteria andSleepConditionLessThan(String value) {
            addCriterion("sleepCondition <", value, "sleepCondition");
            return (Criteria) this;
        }

        public Criteria andSleepConditionLessThanOrEqualTo(String value) {
            addCriterion("sleepCondition <=", value, "sleepCondition");
            return (Criteria) this;
        }

        public Criteria andSleepConditionLike(String value) {
            addCriterion("sleepCondition like", value, "sleepCondition");
            return (Criteria) this;
        }

        public Criteria andSleepConditionNotLike(String value) {
            addCriterion("sleepCondition not like", value, "sleepCondition");
            return (Criteria) this;
        }

        public Criteria andSleepConditionIn(List<String> values) {
            addCriterion("sleepCondition in", values, "sleepCondition");
            return (Criteria) this;
        }

        public Criteria andSleepConditionNotIn(List<String> values) {
            addCriterion("sleepCondition not in", values, "sleepCondition");
            return (Criteria) this;
        }

        public Criteria andSleepConditionBetween(String value1, String value2) {
            addCriterion("sleepCondition between", value1, value2, "sleepCondition");
            return (Criteria) this;
        }

        public Criteria andSleepConditionNotBetween(String value1, String value2) {
            addCriterion("sleepCondition not between", value1, value2, "sleepCondition");
            return (Criteria) this;
        }

        public Criteria andSleepDisordersIsNull() {
            addCriterion("sleepDisorders is null");
            return (Criteria) this;
        }

        public Criteria andSleepDisordersIsNotNull() {
            addCriterion("sleepDisorders is not null");
            return (Criteria) this;
        }

        public Criteria andSleepDisordersEqualTo(String value) {
            addCriterion("sleepDisorders =", value, "sleepDisorders");
            return (Criteria) this;
        }

        public Criteria andSleepDisordersNotEqualTo(String value) {
            addCriterion("sleepDisorders <>", value, "sleepDisorders");
            return (Criteria) this;
        }

        public Criteria andSleepDisordersGreaterThan(String value) {
            addCriterion("sleepDisorders >", value, "sleepDisorders");
            return (Criteria) this;
        }

        public Criteria andSleepDisordersGreaterThanOrEqualTo(String value) {
            addCriterion("sleepDisorders >=", value, "sleepDisorders");
            return (Criteria) this;
        }

        public Criteria andSleepDisordersLessThan(String value) {
            addCriterion("sleepDisorders <", value, "sleepDisorders");
            return (Criteria) this;
        }

        public Criteria andSleepDisordersLessThanOrEqualTo(String value) {
            addCriterion("sleepDisorders <=", value, "sleepDisorders");
            return (Criteria) this;
        }

        public Criteria andSleepDisordersLike(String value) {
            addCriterion("sleepDisorders like", value, "sleepDisorders");
            return (Criteria) this;
        }

        public Criteria andSleepDisordersNotLike(String value) {
            addCriterion("sleepDisorders not like", value, "sleepDisorders");
            return (Criteria) this;
        }

        public Criteria andSleepDisordersIn(List<String> values) {
            addCriterion("sleepDisorders in", values, "sleepDisorders");
            return (Criteria) this;
        }

        public Criteria andSleepDisordersNotIn(List<String> values) {
            addCriterion("sleepDisorders not in", values, "sleepDisorders");
            return (Criteria) this;
        }

        public Criteria andSleepDisordersBetween(String value1, String value2) {
            addCriterion("sleepDisorders between", value1, value2, "sleepDisorders");
            return (Criteria) this;
        }

        public Criteria andSleepDisordersNotBetween(String value1, String value2) {
            addCriterion("sleepDisorders not between", value1, value2, "sleepDisorders");
            return (Criteria) this;
        }

        public Criteria andSmokeConditionIsNull() {
            addCriterion("smokeCondition is null");
            return (Criteria) this;
        }

        public Criteria andSmokeConditionIsNotNull() {
            addCriterion("smokeCondition is not null");
            return (Criteria) this;
        }

        public Criteria andSmokeConditionEqualTo(String value) {
            addCriterion("smokeCondition =", value, "smokeCondition");
            return (Criteria) this;
        }

        public Criteria andSmokeConditionNotEqualTo(String value) {
            addCriterion("smokeCondition <>", value, "smokeCondition");
            return (Criteria) this;
        }

        public Criteria andSmokeConditionGreaterThan(String value) {
            addCriterion("smokeCondition >", value, "smokeCondition");
            return (Criteria) this;
        }

        public Criteria andSmokeConditionGreaterThanOrEqualTo(String value) {
            addCriterion("smokeCondition >=", value, "smokeCondition");
            return (Criteria) this;
        }

        public Criteria andSmokeConditionLessThan(String value) {
            addCriterion("smokeCondition <", value, "smokeCondition");
            return (Criteria) this;
        }

        public Criteria andSmokeConditionLessThanOrEqualTo(String value) {
            addCriterion("smokeCondition <=", value, "smokeCondition");
            return (Criteria) this;
        }

        public Criteria andSmokeConditionLike(String value) {
            addCriterion("smokeCondition like", value, "smokeCondition");
            return (Criteria) this;
        }

        public Criteria andSmokeConditionNotLike(String value) {
            addCriterion("smokeCondition not like", value, "smokeCondition");
            return (Criteria) this;
        }

        public Criteria andSmokeConditionIn(List<String> values) {
            addCriterion("smokeCondition in", values, "smokeCondition");
            return (Criteria) this;
        }

        public Criteria andSmokeConditionNotIn(List<String> values) {
            addCriterion("smokeCondition not in", values, "smokeCondition");
            return (Criteria) this;
        }

        public Criteria andSmokeConditionBetween(String value1, String value2) {
            addCriterion("smokeCondition between", value1, value2, "smokeCondition");
            return (Criteria) this;
        }

        public Criteria andSmokeConditionNotBetween(String value1, String value2) {
            addCriterion("smokeCondition not between", value1, value2, "smokeCondition");
            return (Criteria) this;
        }

        public Criteria andDrinkConditionIsNull() {
            addCriterion("drinkCondition is null");
            return (Criteria) this;
        }

        public Criteria andDrinkConditionIsNotNull() {
            addCriterion("drinkCondition is not null");
            return (Criteria) this;
        }

        public Criteria andDrinkConditionEqualTo(String value) {
            addCriterion("drinkCondition =", value, "drinkCondition");
            return (Criteria) this;
        }

        public Criteria andDrinkConditionNotEqualTo(String value) {
            addCriterion("drinkCondition <>", value, "drinkCondition");
            return (Criteria) this;
        }

        public Criteria andDrinkConditionGreaterThan(String value) {
            addCriterion("drinkCondition >", value, "drinkCondition");
            return (Criteria) this;
        }

        public Criteria andDrinkConditionGreaterThanOrEqualTo(String value) {
            addCriterion("drinkCondition >=", value, "drinkCondition");
            return (Criteria) this;
        }

        public Criteria andDrinkConditionLessThan(String value) {
            addCriterion("drinkCondition <", value, "drinkCondition");
            return (Criteria) this;
        }

        public Criteria andDrinkConditionLessThanOrEqualTo(String value) {
            addCriterion("drinkCondition <=", value, "drinkCondition");
            return (Criteria) this;
        }

        public Criteria andDrinkConditionLike(String value) {
            addCriterion("drinkCondition like", value, "drinkCondition");
            return (Criteria) this;
        }

        public Criteria andDrinkConditionNotLike(String value) {
            addCriterion("drinkCondition not like", value, "drinkCondition");
            return (Criteria) this;
        }

        public Criteria andDrinkConditionIn(List<String> values) {
            addCriterion("drinkCondition in", values, "drinkCondition");
            return (Criteria) this;
        }

        public Criteria andDrinkConditionNotIn(List<String> values) {
            addCriterion("drinkCondition not in", values, "drinkCondition");
            return (Criteria) this;
        }

        public Criteria andDrinkConditionBetween(String value1, String value2) {
            addCriterion("drinkCondition between", value1, value2, "drinkCondition");
            return (Criteria) this;
        }

        public Criteria andDrinkConditionNotBetween(String value1, String value2) {
            addCriterion("drinkCondition not between", value1, value2, "drinkCondition");
            return (Criteria) this;
        }

        public Criteria andPaytypeMedicalIsNull() {
            addCriterion("paytypeMedical is null");
            return (Criteria) this;
        }

        public Criteria andPaytypeMedicalIsNotNull() {
            addCriterion("paytypeMedical is not null");
            return (Criteria) this;
        }

        public Criteria andPaytypeMedicalEqualTo(Integer value) {
            addCriterion("paytypeMedical =", value, "paytypeMedical");
            return (Criteria) this;
        }

        public Criteria andPaytypeMedicalNotEqualTo(Integer value) {
            addCriterion("paytypeMedical <>", value, "paytypeMedical");
            return (Criteria) this;
        }

        public Criteria andPaytypeMedicalGreaterThan(Integer value) {
            addCriterion("paytypeMedical >", value, "paytypeMedical");
            return (Criteria) this;
        }

        public Criteria andPaytypeMedicalGreaterThanOrEqualTo(Integer value) {
            addCriterion("paytypeMedical >=", value, "paytypeMedical");
            return (Criteria) this;
        }

        public Criteria andPaytypeMedicalLessThan(Integer value) {
            addCriterion("paytypeMedical <", value, "paytypeMedical");
            return (Criteria) this;
        }

        public Criteria andPaytypeMedicalLessThanOrEqualTo(Integer value) {
            addCriterion("paytypeMedical <=", value, "paytypeMedical");
            return (Criteria) this;
        }

        public Criteria andPaytypeMedicalIn(List<Integer> values) {
            addCriterion("paytypeMedical in", values, "paytypeMedical");
            return (Criteria) this;
        }

        public Criteria andPaytypeMedicalNotIn(List<Integer> values) {
            addCriterion("paytypeMedical not in", values, "paytypeMedical");
            return (Criteria) this;
        }

        public Criteria andPaytypeMedicalBetween(Integer value1, Integer value2) {
            addCriterion("paytypeMedical between", value1, value2, "paytypeMedical");
            return (Criteria) this;
        }

        public Criteria andPaytypeMedicalNotBetween(Integer value1, Integer value2) {
            addCriterion("paytypeMedical not between", value1, value2, "paytypeMedical");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesOneIsNull() {
            addCriterion("specialDiseasesOne is null");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesOneIsNotNull() {
            addCriterion("specialDiseasesOne is not null");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesOneEqualTo(String value) {
            addCriterion("specialDiseasesOne =", value, "specialDiseasesOne");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesOneNotEqualTo(String value) {
            addCriterion("specialDiseasesOne <>", value, "specialDiseasesOne");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesOneGreaterThan(String value) {
            addCriterion("specialDiseasesOne >", value, "specialDiseasesOne");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesOneGreaterThanOrEqualTo(String value) {
            addCriterion("specialDiseasesOne >=", value, "specialDiseasesOne");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesOneLessThan(String value) {
            addCriterion("specialDiseasesOne <", value, "specialDiseasesOne");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesOneLessThanOrEqualTo(String value) {
            addCriterion("specialDiseasesOne <=", value, "specialDiseasesOne");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesOneLike(String value) {
            addCriterion("specialDiseasesOne like", value, "specialDiseasesOne");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesOneNotLike(String value) {
            addCriterion("specialDiseasesOne not like", value, "specialDiseasesOne");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesOneIn(List<String> values) {
            addCriterion("specialDiseasesOne in", values, "specialDiseasesOne");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesOneNotIn(List<String> values) {
            addCriterion("specialDiseasesOne not in", values, "specialDiseasesOne");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesOneBetween(String value1, String value2) {
            addCriterion("specialDiseasesOne between", value1, value2, "specialDiseasesOne");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesOneNotBetween(String value1, String value2) {
            addCriterion("specialDiseasesOne not between", value1, value2, "specialDiseasesOne");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesTwoIsNull() {
            addCriterion("specialDiseasesTwo is null");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesTwoIsNotNull() {
            addCriterion("specialDiseasesTwo is not null");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesTwoEqualTo(String value) {
            addCriterion("specialDiseasesTwo =", value, "specialDiseasesTwo");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesTwoNotEqualTo(String value) {
            addCriterion("specialDiseasesTwo <>", value, "specialDiseasesTwo");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesTwoGreaterThan(String value) {
            addCriterion("specialDiseasesTwo >", value, "specialDiseasesTwo");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesTwoGreaterThanOrEqualTo(String value) {
            addCriterion("specialDiseasesTwo >=", value, "specialDiseasesTwo");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesTwoLessThan(String value) {
            addCriterion("specialDiseasesTwo <", value, "specialDiseasesTwo");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesTwoLessThanOrEqualTo(String value) {
            addCriterion("specialDiseasesTwo <=", value, "specialDiseasesTwo");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesTwoLike(String value) {
            addCriterion("specialDiseasesTwo like", value, "specialDiseasesTwo");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesTwoNotLike(String value) {
            addCriterion("specialDiseasesTwo not like", value, "specialDiseasesTwo");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesTwoIn(List<String> values) {
            addCriterion("specialDiseasesTwo in", values, "specialDiseasesTwo");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesTwoNotIn(List<String> values) {
            addCriterion("specialDiseasesTwo not in", values, "specialDiseasesTwo");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesTwoBetween(String value1, String value2) {
            addCriterion("specialDiseasesTwo between", value1, value2, "specialDiseasesTwo");
            return (Criteria) this;
        }

        public Criteria andSpecialDiseasesTwoNotBetween(String value1, String value2) {
            addCriterion("specialDiseasesTwo not between", value1, value2, "specialDiseasesTwo");
            return (Criteria) this;
        }

        public Criteria andExposureHistoryIsNull() {
            addCriterion("exposureHistory is null");
            return (Criteria) this;
        }

        public Criteria andExposureHistoryIsNotNull() {
            addCriterion("exposureHistory is not null");
            return (Criteria) this;
        }

        public Criteria andExposureHistoryEqualTo(String value) {
            addCriterion("exposureHistory =", value, "exposureHistory");
            return (Criteria) this;
        }

        public Criteria andExposureHistoryNotEqualTo(String value) {
            addCriterion("exposureHistory <>", value, "exposureHistory");
            return (Criteria) this;
        }

        public Criteria andExposureHistoryGreaterThan(String value) {
            addCriterion("exposureHistory >", value, "exposureHistory");
            return (Criteria) this;
        }

        public Criteria andExposureHistoryGreaterThanOrEqualTo(String value) {
            addCriterion("exposureHistory >=", value, "exposureHistory");
            return (Criteria) this;
        }

        public Criteria andExposureHistoryLessThan(String value) {
            addCriterion("exposureHistory <", value, "exposureHistory");
            return (Criteria) this;
        }

        public Criteria andExposureHistoryLessThanOrEqualTo(String value) {
            addCriterion("exposureHistory <=", value, "exposureHistory");
            return (Criteria) this;
        }

        public Criteria andExposureHistoryLike(String value) {
            addCriterion("exposureHistory like", value, "exposureHistory");
            return (Criteria) this;
        }

        public Criteria andExposureHistoryNotLike(String value) {
            addCriterion("exposureHistory not like", value, "exposureHistory");
            return (Criteria) this;
        }

        public Criteria andExposureHistoryIn(List<String> values) {
            addCriterion("exposureHistory in", values, "exposureHistory");
            return (Criteria) this;
        }

        public Criteria andExposureHistoryNotIn(List<String> values) {
            addCriterion("exposureHistory not in", values, "exposureHistory");
            return (Criteria) this;
        }

        public Criteria andExposureHistoryBetween(String value1, String value2) {
            addCriterion("exposureHistory between", value1, value2, "exposureHistory");
            return (Criteria) this;
        }

        public Criteria andExposureHistoryNotBetween(String value1, String value2) {
            addCriterion("exposureHistory not between", value1, value2, "exposureHistory");
            return (Criteria) this;
        }

        public Criteria andPartitionTypeIsNull() {
            addCriterion("partitionType is null");
            return (Criteria) this;
        }

        public Criteria andPartitionTypeIsNotNull() {
            addCriterion("partitionType is not null");
            return (Criteria) this;
        }

        public Criteria andPartitionTypeEqualTo(Integer value) {
            addCriterion("partitionType =", value, "partitionType");
            return (Criteria) this;
        }

        public Criteria andPartitionTypeNotEqualTo(Integer value) {
            addCriterion("partitionType <>", value, "partitionType");
            return (Criteria) this;
        }

        public Criteria andPartitionTypeGreaterThan(Integer value) {
            addCriterion("partitionType >", value, "partitionType");
            return (Criteria) this;
        }

        public Criteria andPartitionTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("partitionType >=", value, "partitionType");
            return (Criteria) this;
        }

        public Criteria andPartitionTypeLessThan(Integer value) {
            addCriterion("partitionType <", value, "partitionType");
            return (Criteria) this;
        }

        public Criteria andPartitionTypeLessThanOrEqualTo(Integer value) {
            addCriterion("partitionType <=", value, "partitionType");
            return (Criteria) this;
        }

        public Criteria andPartitionTypeIn(List<Integer> values) {
            addCriterion("partitionType in", values, "partitionType");
            return (Criteria) this;
        }

        public Criteria andPartitionTypeNotIn(List<Integer> values) {
            addCriterion("partitionType not in", values, "partitionType");
            return (Criteria) this;
        }

        public Criteria andPartitionTypeBetween(Integer value1, Integer value2) {
            addCriterion("partitionType between", value1, value2, "partitionType");
            return (Criteria) this;
        }

        public Criteria andPartitionTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("partitionType not between", value1, value2, "partitionType");
            return (Criteria) this;
        }

        public Criteria andDrugHistoryIsNull() {
            addCriterion("drugHistory is null");
            return (Criteria) this;
        }

        public Criteria andDrugHistoryIsNotNull() {
            addCriterion("drugHistory is not null");
            return (Criteria) this;
        }

        public Criteria andDrugHistoryEqualTo(String value) {
            addCriterion("drugHistory =", value, "drugHistory");
            return (Criteria) this;
        }

        public Criteria andDrugHistoryNotEqualTo(String value) {
            addCriterion("drugHistory <>", value, "drugHistory");
            return (Criteria) this;
        }

        public Criteria andDrugHistoryGreaterThan(String value) {
            addCriterion("drugHistory >", value, "drugHistory");
            return (Criteria) this;
        }

        public Criteria andDrugHistoryGreaterThanOrEqualTo(String value) {
            addCriterion("drugHistory >=", value, "drugHistory");
            return (Criteria) this;
        }

        public Criteria andDrugHistoryLessThan(String value) {
            addCriterion("drugHistory <", value, "drugHistory");
            return (Criteria) this;
        }

        public Criteria andDrugHistoryLessThanOrEqualTo(String value) {
            addCriterion("drugHistory <=", value, "drugHistory");
            return (Criteria) this;
        }

        public Criteria andDrugHistoryLike(String value) {
            addCriterion("drugHistory like", value, "drugHistory");
            return (Criteria) this;
        }

        public Criteria andDrugHistoryNotLike(String value) {
            addCriterion("drugHistory not like", value, "drugHistory");
            return (Criteria) this;
        }

        public Criteria andDrugHistoryIn(List<String> values) {
            addCriterion("drugHistory in", values, "drugHistory");
            return (Criteria) this;
        }

        public Criteria andDrugHistoryNotIn(List<String> values) {
            addCriterion("drugHistory not in", values, "drugHistory");
            return (Criteria) this;
        }

        public Criteria andDrugHistoryBetween(String value1, String value2) {
            addCriterion("drugHistory between", value1, value2, "drugHistory");
            return (Criteria) this;
        }

        public Criteria andDrugHistoryNotBetween(String value1, String value2) {
            addCriterion("drugHistory not between", value1, value2, "drugHistory");
            return (Criteria) this;
        }

        public Criteria andOccupationalDiseasesIsNull() {
            addCriterion("occupationalDiseases is null");
            return (Criteria) this;
        }

        public Criteria andOccupationalDiseasesIsNotNull() {
            addCriterion("occupationalDiseases is not null");
            return (Criteria) this;
        }

        public Criteria andOccupationalDiseasesEqualTo(String value) {
            addCriterion("occupationalDiseases =", value, "occupationalDiseases");
            return (Criteria) this;
        }

        public Criteria andOccupationalDiseasesNotEqualTo(String value) {
            addCriterion("occupationalDiseases <>", value, "occupationalDiseases");
            return (Criteria) this;
        }

        public Criteria andOccupationalDiseasesGreaterThan(String value) {
            addCriterion("occupationalDiseases >", value, "occupationalDiseases");
            return (Criteria) this;
        }

        public Criteria andOccupationalDiseasesGreaterThanOrEqualTo(String value) {
            addCriterion("occupationalDiseases >=", value, "occupationalDiseases");
            return (Criteria) this;
        }

        public Criteria andOccupationalDiseasesLessThan(String value) {
            addCriterion("occupationalDiseases <", value, "occupationalDiseases");
            return (Criteria) this;
        }

        public Criteria andOccupationalDiseasesLessThanOrEqualTo(String value) {
            addCriterion("occupationalDiseases <=", value, "occupationalDiseases");
            return (Criteria) this;
        }

        public Criteria andOccupationalDiseasesLike(String value) {
            addCriterion("occupationalDiseases like", value, "occupationalDiseases");
            return (Criteria) this;
        }

        public Criteria andOccupationalDiseasesNotLike(String value) {
            addCriterion("occupationalDiseases not like", value, "occupationalDiseases");
            return (Criteria) this;
        }

        public Criteria andOccupationalDiseasesIn(List<String> values) {
            addCriterion("occupationalDiseases in", values, "occupationalDiseases");
            return (Criteria) this;
        }

        public Criteria andOccupationalDiseasesNotIn(List<String> values) {
            addCriterion("occupationalDiseases not in", values, "occupationalDiseases");
            return (Criteria) this;
        }

        public Criteria andOccupationalDiseasesBetween(String value1, String value2) {
            addCriterion("occupationalDiseases between", value1, value2, "occupationalDiseases");
            return (Criteria) this;
        }

        public Criteria andOccupationalDiseasesNotBetween(String value1, String value2) {
            addCriterion("occupationalDiseases not between", value1, value2, "occupationalDiseases");
            return (Criteria) this;
        }

        public Criteria andMalignantTumorIsNull() {
            addCriterion("malignantTumor is null");
            return (Criteria) this;
        }

        public Criteria andMalignantTumorIsNotNull() {
            addCriterion("malignantTumor is not null");
            return (Criteria) this;
        }

        public Criteria andMalignantTumorEqualTo(String value) {
            addCriterion("malignantTumor =", value, "malignantTumor");
            return (Criteria) this;
        }

        public Criteria andMalignantTumorNotEqualTo(String value) {
            addCriterion("malignantTumor <>", value, "malignantTumor");
            return (Criteria) this;
        }

        public Criteria andMalignantTumorGreaterThan(String value) {
            addCriterion("malignantTumor >", value, "malignantTumor");
            return (Criteria) this;
        }

        public Criteria andMalignantTumorGreaterThanOrEqualTo(String value) {
            addCriterion("malignantTumor >=", value, "malignantTumor");
            return (Criteria) this;
        }

        public Criteria andMalignantTumorLessThan(String value) {
            addCriterion("malignantTumor <", value, "malignantTumor");
            return (Criteria) this;
        }

        public Criteria andMalignantTumorLessThanOrEqualTo(String value) {
            addCriterion("malignantTumor <=", value, "malignantTumor");
            return (Criteria) this;
        }

        public Criteria andMalignantTumorLike(String value) {
            addCriterion("malignantTumor like", value, "malignantTumor");
            return (Criteria) this;
        }

        public Criteria andMalignantTumorNotLike(String value) {
            addCriterion("malignantTumor not like", value, "malignantTumor");
            return (Criteria) this;
        }

        public Criteria andMalignantTumorIn(List<String> values) {
            addCriterion("malignantTumor in", values, "malignantTumor");
            return (Criteria) this;
        }

        public Criteria andMalignantTumorNotIn(List<String> values) {
            addCriterion("malignantTumor not in", values, "malignantTumor");
            return (Criteria) this;
        }

        public Criteria andMalignantTumorBetween(String value1, String value2) {
            addCriterion("malignantTumor between", value1, value2, "malignantTumor");
            return (Criteria) this;
        }

        public Criteria andMalignantTumorNotBetween(String value1, String value2) {
            addCriterion("malignantTumor not between", value1, value2, "malignantTumor");
            return (Criteria) this;
        }

        public Criteria andOperationIsNull() {
            addCriterion("operation is null");
            return (Criteria) this;
        }

        public Criteria andOperationIsNotNull() {
            addCriterion("operation is not null");
            return (Criteria) this;
        }

        public Criteria andOperationEqualTo(String value) {
            addCriterion("operation =", value, "operation");
            return (Criteria) this;
        }

        public Criteria andOperationNotEqualTo(String value) {
            addCriterion("operation <>", value, "operation");
            return (Criteria) this;
        }

        public Criteria andOperationGreaterThan(String value) {
            addCriterion("operation >", value, "operation");
            return (Criteria) this;
        }

        public Criteria andOperationGreaterThanOrEqualTo(String value) {
            addCriterion("operation >=", value, "operation");
            return (Criteria) this;
        }

        public Criteria andOperationLessThan(String value) {
            addCriterion("operation <", value, "operation");
            return (Criteria) this;
        }

        public Criteria andOperationLessThanOrEqualTo(String value) {
            addCriterion("operation <=", value, "operation");
            return (Criteria) this;
        }

        public Criteria andOperationLike(String value) {
            addCriterion("operation like", value, "operation");
            return (Criteria) this;
        }

        public Criteria andOperationNotLike(String value) {
            addCriterion("operation not like", value, "operation");
            return (Criteria) this;
        }

        public Criteria andOperationIn(List<String> values) {
            addCriterion("operation in", values, "operation");
            return (Criteria) this;
        }

        public Criteria andOperationNotIn(List<String> values) {
            addCriterion("operation not in", values, "operation");
            return (Criteria) this;
        }

        public Criteria andOperationBetween(String value1, String value2) {
            addCriterion("operation between", value1, value2, "operation");
            return (Criteria) this;
        }

        public Criteria andOperationNotBetween(String value1, String value2) {
            addCriterion("operation not between", value1, value2, "operation");
            return (Criteria) this;
        }

        public Criteria andTraumaIsNull() {
            addCriterion("trauma is null");
            return (Criteria) this;
        }

        public Criteria andTraumaIsNotNull() {
            addCriterion("trauma is not null");
            return (Criteria) this;
        }

        public Criteria andTraumaEqualTo(String value) {
            addCriterion("trauma =", value, "trauma");
            return (Criteria) this;
        }

        public Criteria andTraumaNotEqualTo(String value) {
            addCriterion("trauma <>", value, "trauma");
            return (Criteria) this;
        }

        public Criteria andTraumaGreaterThan(String value) {
            addCriterion("trauma >", value, "trauma");
            return (Criteria) this;
        }

        public Criteria andTraumaGreaterThanOrEqualTo(String value) {
            addCriterion("trauma >=", value, "trauma");
            return (Criteria) this;
        }

        public Criteria andTraumaLessThan(String value) {
            addCriterion("trauma <", value, "trauma");
            return (Criteria) this;
        }

        public Criteria andTraumaLessThanOrEqualTo(String value) {
            addCriterion("trauma <=", value, "trauma");
            return (Criteria) this;
        }

        public Criteria andTraumaLike(String value) {
            addCriterion("trauma like", value, "trauma");
            return (Criteria) this;
        }

        public Criteria andTraumaNotLike(String value) {
            addCriterion("trauma not like", value, "trauma");
            return (Criteria) this;
        }

        public Criteria andTraumaIn(List<String> values) {
            addCriterion("trauma in", values, "trauma");
            return (Criteria) this;
        }

        public Criteria andTraumaNotIn(List<String> values) {
            addCriterion("trauma not in", values, "trauma");
            return (Criteria) this;
        }

        public Criteria andTraumaBetween(String value1, String value2) {
            addCriterion("trauma between", value1, value2, "trauma");
            return (Criteria) this;
        }

        public Criteria andTraumaNotBetween(String value1, String value2) {
            addCriterion("trauma not between", value1, value2, "trauma");
            return (Criteria) this;
        }

        public Criteria andBloodTransfusionIsNull() {
            addCriterion("bloodTransfusion is null");
            return (Criteria) this;
        }

        public Criteria andBloodTransfusionIsNotNull() {
            addCriterion("bloodTransfusion is not null");
            return (Criteria) this;
        }

        public Criteria andBloodTransfusionEqualTo(String value) {
            addCriterion("bloodTransfusion =", value, "bloodTransfusion");
            return (Criteria) this;
        }

        public Criteria andBloodTransfusionNotEqualTo(String value) {
            addCriterion("bloodTransfusion <>", value, "bloodTransfusion");
            return (Criteria) this;
        }

        public Criteria andBloodTransfusionGreaterThan(String value) {
            addCriterion("bloodTransfusion >", value, "bloodTransfusion");
            return (Criteria) this;
        }

        public Criteria andBloodTransfusionGreaterThanOrEqualTo(String value) {
            addCriterion("bloodTransfusion >=", value, "bloodTransfusion");
            return (Criteria) this;
        }

        public Criteria andBloodTransfusionLessThan(String value) {
            addCriterion("bloodTransfusion <", value, "bloodTransfusion");
            return (Criteria) this;
        }

        public Criteria andBloodTransfusionLessThanOrEqualTo(String value) {
            addCriterion("bloodTransfusion <=", value, "bloodTransfusion");
            return (Criteria) this;
        }

        public Criteria andBloodTransfusionLike(String value) {
            addCriterion("bloodTransfusion like", value, "bloodTransfusion");
            return (Criteria) this;
        }

        public Criteria andBloodTransfusionNotLike(String value) {
            addCriterion("bloodTransfusion not like", value, "bloodTransfusion");
            return (Criteria) this;
        }

        public Criteria andBloodTransfusionIn(List<String> values) {
            addCriterion("bloodTransfusion in", values, "bloodTransfusion");
            return (Criteria) this;
        }

        public Criteria andBloodTransfusionNotIn(List<String> values) {
            addCriterion("bloodTransfusion not in", values, "bloodTransfusion");
            return (Criteria) this;
        }

        public Criteria andBloodTransfusionBetween(String value1, String value2) {
            addCriterion("bloodTransfusion between", value1, value2, "bloodTransfusion");
            return (Criteria) this;
        }

        public Criteria andBloodTransfusionNotBetween(String value1, String value2) {
            addCriterion("bloodTransfusion not between", value1, value2, "bloodTransfusion");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryFatherIsNull() {
            addCriterion("familyHistoryFather is null");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryFatherIsNotNull() {
            addCriterion("familyHistoryFather is not null");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryFatherEqualTo(String value) {
            addCriterion("familyHistoryFather =", value, "familyHistoryFather");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryFatherNotEqualTo(String value) {
            addCriterion("familyHistoryFather <>", value, "familyHistoryFather");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryFatherGreaterThan(String value) {
            addCriterion("familyHistoryFather >", value, "familyHistoryFather");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryFatherGreaterThanOrEqualTo(String value) {
            addCriterion("familyHistoryFather >=", value, "familyHistoryFather");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryFatherLessThan(String value) {
            addCriterion("familyHistoryFather <", value, "familyHistoryFather");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryFatherLessThanOrEqualTo(String value) {
            addCriterion("familyHistoryFather <=", value, "familyHistoryFather");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryFatherLike(String value) {
            addCriterion("familyHistoryFather like", value, "familyHistoryFather");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryFatherNotLike(String value) {
            addCriterion("familyHistoryFather not like", value, "familyHistoryFather");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryFatherIn(List<String> values) {
            addCriterion("familyHistoryFather in", values, "familyHistoryFather");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryFatherNotIn(List<String> values) {
            addCriterion("familyHistoryFather not in", values, "familyHistoryFather");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryFatherBetween(String value1, String value2) {
            addCriterion("familyHistoryFather between", value1, value2, "familyHistoryFather");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryFatherNotBetween(String value1, String value2) {
            addCriterion("familyHistoryFather not between", value1, value2, "familyHistoryFather");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryMotherIsNull() {
            addCriterion("familyHistoryMother is null");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryMotherIsNotNull() {
            addCriterion("familyHistoryMother is not null");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryMotherEqualTo(String value) {
            addCriterion("familyHistoryMother =", value, "familyHistoryMother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryMotherNotEqualTo(String value) {
            addCriterion("familyHistoryMother <>", value, "familyHistoryMother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryMotherGreaterThan(String value) {
            addCriterion("familyHistoryMother >", value, "familyHistoryMother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryMotherGreaterThanOrEqualTo(String value) {
            addCriterion("familyHistoryMother >=", value, "familyHistoryMother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryMotherLessThan(String value) {
            addCriterion("familyHistoryMother <", value, "familyHistoryMother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryMotherLessThanOrEqualTo(String value) {
            addCriterion("familyHistoryMother <=", value, "familyHistoryMother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryMotherLike(String value) {
            addCriterion("familyHistoryMother like", value, "familyHistoryMother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryMotherNotLike(String value) {
            addCriterion("familyHistoryMother not like", value, "familyHistoryMother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryMotherIn(List<String> values) {
            addCriterion("familyHistoryMother in", values, "familyHistoryMother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryMotherNotIn(List<String> values) {
            addCriterion("familyHistoryMother not in", values, "familyHistoryMother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryMotherBetween(String value1, String value2) {
            addCriterion("familyHistoryMother between", value1, value2, "familyHistoryMother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryMotherNotBetween(String value1, String value2) {
            addCriterion("familyHistoryMother not between", value1, value2, "familyHistoryMother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryOffspringIsNull() {
            addCriterion("familyHistoryOffspring is null");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryOffspringIsNotNull() {
            addCriterion("familyHistoryOffspring is not null");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryOffspringEqualTo(String value) {
            addCriterion("familyHistoryOffspring =", value, "familyHistoryOffspring");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryOffspringNotEqualTo(String value) {
            addCriterion("familyHistoryOffspring <>", value, "familyHistoryOffspring");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryOffspringGreaterThan(String value) {
            addCriterion("familyHistoryOffspring >", value, "familyHistoryOffspring");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryOffspringGreaterThanOrEqualTo(String value) {
            addCriterion("familyHistoryOffspring >=", value, "familyHistoryOffspring");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryOffspringLessThan(String value) {
            addCriterion("familyHistoryOffspring <", value, "familyHistoryOffspring");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryOffspringLessThanOrEqualTo(String value) {
            addCriterion("familyHistoryOffspring <=", value, "familyHistoryOffspring");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryOffspringLike(String value) {
            addCriterion("familyHistoryOffspring like", value, "familyHistoryOffspring");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryOffspringNotLike(String value) {
            addCriterion("familyHistoryOffspring not like", value, "familyHistoryOffspring");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryOffspringIn(List<String> values) {
            addCriterion("familyHistoryOffspring in", values, "familyHistoryOffspring");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryOffspringNotIn(List<String> values) {
            addCriterion("familyHistoryOffspring not in", values, "familyHistoryOffspring");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryOffspringBetween(String value1, String value2) {
            addCriterion("familyHistoryOffspring between", value1, value2, "familyHistoryOffspring");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryOffspringNotBetween(String value1, String value2) {
            addCriterion("familyHistoryOffspring not between", value1, value2, "familyHistoryOffspring");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryBrotherIsNull() {
            addCriterion("familyHistoryBrother is null");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryBrotherIsNotNull() {
            addCriterion("familyHistoryBrother is not null");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryBrotherEqualTo(String value) {
            addCriterion("familyHistoryBrother =", value, "familyHistoryBrother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryBrotherNotEqualTo(String value) {
            addCriterion("familyHistoryBrother <>", value, "familyHistoryBrother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryBrotherGreaterThan(String value) {
            addCriterion("familyHistoryBrother >", value, "familyHistoryBrother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryBrotherGreaterThanOrEqualTo(String value) {
            addCriterion("familyHistoryBrother >=", value, "familyHistoryBrother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryBrotherLessThan(String value) {
            addCriterion("familyHistoryBrother <", value, "familyHistoryBrother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryBrotherLessThanOrEqualTo(String value) {
            addCriterion("familyHistoryBrother <=", value, "familyHistoryBrother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryBrotherLike(String value) {
            addCriterion("familyHistoryBrother like", value, "familyHistoryBrother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryBrotherNotLike(String value) {
            addCriterion("familyHistoryBrother not like", value, "familyHistoryBrother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryBrotherIn(List<String> values) {
            addCriterion("familyHistoryBrother in", values, "familyHistoryBrother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryBrotherNotIn(List<String> values) {
            addCriterion("familyHistoryBrother not in", values, "familyHistoryBrother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryBrotherBetween(String value1, String value2) {
            addCriterion("familyHistoryBrother between", value1, value2, "familyHistoryBrother");
            return (Criteria) this;
        }

        public Criteria andFamilyHistoryBrotherNotBetween(String value1, String value2) {
            addCriterion("familyHistoryBrother not between", value1, value2, "familyHistoryBrother");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andRegisterTypeIsNull() {
            addCriterion("registerType is null");
            return (Criteria) this;
        }

        public Criteria andRegisterTypeIsNotNull() {
            addCriterion("registerType is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterTypeEqualTo(Integer value) {
            addCriterion("registerType =", value, "registerType");
            return (Criteria) this;
        }

        public Criteria andRegisterTypeNotEqualTo(Integer value) {
            addCriterion("registerType <>", value, "registerType");
            return (Criteria) this;
        }

        public Criteria andRegisterTypeGreaterThan(Integer value) {
            addCriterion("registerType >", value, "registerType");
            return (Criteria) this;
        }

        public Criteria andRegisterTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("registerType >=", value, "registerType");
            return (Criteria) this;
        }

        public Criteria andRegisterTypeLessThan(Integer value) {
            addCriterion("registerType <", value, "registerType");
            return (Criteria) this;
        }

        public Criteria andRegisterTypeLessThanOrEqualTo(Integer value) {
            addCriterion("registerType <=", value, "registerType");
            return (Criteria) this;
        }

        public Criteria andRegisterTypeIn(List<Integer> values) {
            addCriterion("registerType in", values, "registerType");
            return (Criteria) this;
        }

        public Criteria andRegisterTypeNotIn(List<Integer> values) {
            addCriterion("registerType not in", values, "registerType");
            return (Criteria) this;
        }

        public Criteria andRegisterTypeBetween(Integer value1, Integer value2) {
            addCriterion("registerType between", value1, value2, "registerType");
            return (Criteria) this;
        }

        public Criteria andRegisterTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("registerType not between", value1, value2, "registerType");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}